Hello. I want to ask a question and in dire need of the solution here.
So my office wants to automate leave requests using Approvals. But we want to limit the 'Assigned to' row to just 2 people, who are the Human Resource and the requester's Supervisor. Normally in the 'Assigned to' should have the targeted email addresses, correct? But did I go wrong in my steps hence it's missing from the dynamic contents here? Perhaps should I parse my test run beforehand?
Any help or suggestions are appreciated. Thank you so much
The Start and Wait for Approval action I'm troubled with.
The overall automation
Solved! Go to Solution.
Hey
It depends how people are filling in the form. If they are filling in the form with the approver’s names, you could use the Office 365 Users connector to find the user and then use the Mail dynamic content as the value in the Assigned To field.
This would mean that the users would have to be inside your M365 tenancy. You would then need to build a condition that if the customer supplies a name that does not exist or cannot be found they are emailed to be told they have chosen an invalid approver and would have to restart the process.
Hey
so you can just put in the email addresses of who needs to approve these requests and it will look them up and resolve the names from your M365 tenancy.
Alternatively, a slightly better way to do this is to have a SharePoint list or Dataverse table with your approver by department listed, and look up that table and pull back the email addresses.
also in your condition step, you’ll want to change the word “Accept” to “Approve”.
If I have helped you, please mark this reply as an accepted solution.
Yes, I can type in the email of the approvers. But sometimes the approvers may vary according to each division. What I'm looking for is how to set the emails the requester had written in the approval forms, and then it can be used as an input in the 'Assigned to' box.
So the names written as approvers in here...
Can be used as a dynamic content or referred here:
Hey
It depends how people are filling in the form. If they are filling in the form with the approver’s names, you could use the Office 365 Users connector to find the user and then use the Mail dynamic content as the value in the Assigned To field.
This would mean that the users would have to be inside your M365 tenancy. You would then need to build a condition that if the customer supplies a name that does not exist or cannot be found they are emailed to be told they have chosen an invalid approver and would have to restart the process.
Thank you Monkeyman. For now I will try to use your solution. Hope it goes well
Nice one. Good luck !
User | Count |
---|---|
16 | |
16 | |
14 | |
9 | |
8 |
User | Count |
---|---|
28 | |
27 | |
24 | |
23 | |
14 |