How to trigger an event after a certain duration using flow?

rpadhmapriya
Giga Contributor

How to fire an event in flow after 24 hours when the manager of an employee has not responded to the approval request?

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

https://www.youtube.com/watch?v=9XgcVHt1wek

 

https://www.servicenow.com/community/servicenow-ai-platform-articles/fire-an-event-via-flow-custom-a...

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************
Discover the secrets of triggering events from ServiceNow flows with TechnoMonk's expert tutorial. Our live demo will equip you with the knowledge to excel

Tanushree Maiti
Kilo Patron

Hi @rpadhmapriya 

 

You need to run the approval and the timer concurrently (parallel) so the flow doesn't pause at the Ask for Approval step.

 

  • Trigger: (e.g., Requested Item [sc_req_item] is created).
  • Action 1: Ask for Approval: Select the manager.
  • Flow Logic 1: Do the following in parallel:
    • Path A (Wait 24h):
      1. Add Wait for a duration flow logic.
      2. Set it to wait for 24 Hours.
      3. After the timer finishes, add an If condition: Check if the approval status is still 'Requested'.
      4. If true, add a Fire Event action to trigger your custom email event (e.g., approval.reminder.24h)
    • Path B (Wait for Approval):
      1. Add a Wait for Condition action.
      2. Set condition:[Approval] [is] [Approved] OR [Approval] [is] [Rejected]

 

Refer: Trigger approval notification for every 24hrs if no action taken 

           Wait for a duration flow logic 

         https://www.youtube.com/watch?v=nYdhLaX2EOo

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Ankur Bawiskar
Tera Patron

@rpadhmapriya 

this is an easy requirement.

what did you start with and where are you stuck?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader