Trigger approval notification for every 24hrs if no action taken

Divya V
Tera Contributor

Hello Everyone,

 

I have a requirement to trigger notification to approver for every 24hrs if there is no action taken until the approval is rejected or approved. I am triggering the approvals to Requested for's manager in the workflow for RITM using Approval - user activity, not sure how to proceed further. 

Below is the workflow for approvals and general notification

 

DivyaV_1-1692889211541.png

 

Could anyone please guide me.

 

Thank you

2 ACCEPTED SOLUTIONS

Nayan  Dhamane
Kilo Sage
Kilo Sage

Hello @Divya V ,

along with the approval activity create a timer in parallel and add if condition to check the state of approval. If it is in approval trigger it to back to the notification.

 

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.

View solution in original post

Michael Jones -
Giga Sage

A common method for something like this is to have a scheduled job that runs and finds all pending approvals and sends a reminder notification, but that only works if you want this to happen for all items with approvals, etc. 

If you want this contained to a specific item (or items) one method you can use is a wait timer and some actions in a loop that fire concurrently with your approval task. When an approval is needed, fire the approval but then also fire a timer for 24 hours. After the timer you check to see if the Approval is still pending, if it is not, you exit the loop and connect to the same path as approved (or you could just not connect anywhere) If the approval is still pending you send a notification and loop back to the wait timer for another 24 hours. 

Once the request is approved, timer will stop being called. If the request is rejected while the timer is running, it will be cancelled. 

This is a mock up of what I've used in the past. 

MichaelJones_0-1692896842735.png

 

 



I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

View solution in original post

4 REPLIES 4

JenniferRah
Mega Sage

You could write a script to do this. I have a scheduled job that checks the open approvals, and if they aren't handled in x days, it triggers a custom event that sends a notification.

Nayan  Dhamane
Kilo Sage
Kilo Sage

Hello @Divya V ,

along with the approval activity create a timer in parallel and add if condition to check the state of approval. If it is in approval trigger it to back to the notification.

 

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.

Michael Jones -
Giga Sage

A common method for something like this is to have a scheduled job that runs and finds all pending approvals and sends a reminder notification, but that only works if you want this to happen for all items with approvals, etc. 

If you want this contained to a specific item (or items) one method you can use is a wait timer and some actions in a loop that fire concurrently with your approval task. When an approval is needed, fire the approval but then also fire a timer for 24 hours. After the timer you check to see if the Approval is still pending, if it is not, you exit the loop and connect to the same path as approved (or you could just not connect anywhere) If the approval is still pending you send a notification and loop back to the wait timer for another 24 hours. 

Once the request is approved, timer will stop being called. If the request is rejected while the timer is running, it will be cancelled. 

This is a mock up of what I've used in the past. 

MichaelJones_0-1692896842735.png

 

 



I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

That would also work! For our purposes, we are dot-walking to determine if the approvals are the ones we want to send reminders for, but arguably, we send the reminders for almost all of them, so it's not as restrictive as this use case. If you are planning to just do the reminders for these approvals, then the workflow solution is a good way to go.