Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time Off Power App : approval by direct manager #21

Closed
ofmano opened this issue Apr 6, 2021 · 1 comment
Closed

Time Off Power App : approval by direct manager #21

ofmano opened this issue Apr 6, 2021 · 1 comment

Comments

@ofmano
Copy link

ofmano commented Apr 6, 2021

Thank you for your vdo . please advise me how to set user currently approval by direct manager. Because when I set up everything complete I found that user current show all of manager and anyone can approve. I don't know how to fix it. Thank you in advance

@aprildunnam
Copy link
Owner

I didn't include that in the template because I wanted to leave that open for people to customize since the approver can vary. To add this in you would add a "Manager" column to the time off requests list. In the app OnStart you can use the Office365Users.GetManager action to put the current logged in users manager in a variable that you can then patch to the list when a record is added. Then in the Approvals screen you can change the filter and add a for where Manager.Email =yourvariablemanager.email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants