Hello,
I'm trying to build a flow to send an email reminder to the manager and Head. I'm using SQL Server as a database.
Logic: 1) Send an email to the requestor's direct manager after 3 days of request. keep sending every 3 days until the request status changes to a different stage.
2) Once the manager approves the request, the status changes to the "pending final approval". Send a reminder email to the Head if he does not approve within 3 days of manager approval.
I'm using Powerapps for creating an approval request.
Any suggestions?
Thanks,
Omi
Solved! Go to Solution.
Hi @omi18
It has a lot of steps. I hope you get the overall approach.
Overall steps.
Steps Expanded
Formula used
equals(items('Apply_to_each')?['Level1ApprovedOn'], null)
div(sub(ticks(formatDateTime(utcNow(),'yyyy-MM-dd')),ticks(formatDateTime(items('Apply_to_each')?['SubmittedOn'],'yyyy-MM-dd'))),864000000000)
mod(variables('Number Of Days'),3)
I know it has a lot of steps. Reach me if any questions.
Thanks,
Stalin - Learn To Illuminate
The only thing that I dont understand is why the 3 days..
For that I would suggest that every day you run a flow and add a day to every item that has not been aproved.
After that, you must see if it is multiple of 3.
If yes, send the request and based on the response, approve.
If not, dont send.
I would use teams approvals for that
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!
Check my User Group (pt-PT)!
Last Post on Community
My website!
Hi @omi18
We should use Power Automate for this requirement.
Type: Scheduled Cloud Flow
Frequency: Runs Every day
Note: Power Automate can wait a maximum of 30 days after that flow will cancel automattically.
I had a similar requirement and I used to verify the source if any other way approved completed as well.
Let me know, if any help on this to build.
Thanks,
Stalin - Learn To Illuminate
3 days, because we think everyday reminder email will be too much for the managers and Head of the Dept.
Hi @StalinPonnusamy ,
Yes, I did try to build a flow, Maybe I'm missing something. Current process flow does not include power automate flow to the request of the approval process. everything is done using power apps.
Thanks.
Omi
Hi @omi18
It has a lot of steps. I hope you get the overall approach.
Overall steps.
Steps Expanded
Formula used
equals(items('Apply_to_each')?['Level1ApprovedOn'], null)
div(sub(ticks(formatDateTime(utcNow(),'yyyy-MM-dd')),ticks(formatDateTime(items('Apply_to_each')?['SubmittedOn'],'yyyy-MM-dd'))),864000000000)
mod(variables('Number Of Days'),3)
I know it has a lot of steps. Reach me if any questions.
Thanks,
Stalin - Learn To Illuminate
User | Count |
---|---|
124 | |
87 | |
86 | |
75 | |
69 |
User | Count |
---|---|
214 | |
181 | |
140 | |
96 | |
83 |