web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Leave request app

(0) ShareShare
ReportReport
Posted on by 15

I added a button to the app and is working fine but need to have the request reassigned to another manager. Has anyone done this before

 

Categories:
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    We need more info...

    Explain everything...

  • gus1105 Profile Picture
    15 on at

    I added a pre-approved button on the app so that after it goes from pending it go to pre-approved so an administrator can approve the day off. I was able to add the button and is going from pending to pre-approved but it still assigned to the manager that was chosen by the employee. I need it to get assigned to a specific person that is in charge of having final approval on all requests. Below is the code that was used for the the pending button that moves it to pre-approved. 

     

    Concurrent(
    Set(_submittingRequest, true),
    Set(_managerApprove, true));
    Patch(Leave, LookUp(Leave, LeaveID = GalleryRequests.Selected.LeaveID), {Status: "Pre-Approved"});
    Set(_submittingRequest, false);
    Navigate(ManagerChangeRequestScreen, None);

     

     

    Im new at this so my bet is that somewhere here i can have it reassigned to another email

     

  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey! Why dont you create a flow in Power Autoamte? It would be easier.

     

    1.When a item is created or modified

    2. If is pre-approved -> 1.Update item and set the new person

    If not, do nothing

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard