How to trigger Email from flow designer after a particular time

marrikruthi
Tera Contributor

I have created a flow and I have created approve mail and reject mail when task is approved or rejected . now i want to send an email when there is no responses with in the time the task should cancelled and send the mail to requestor that "your request is cancelled"
(If Timer expires and no response: Cancel Task → Send Email to Requestor)
Any suggestions on where to set the time in Flow Designer.

marrikruthi_0-1724651835580.png

 

 

2 ACCEPTED SOLUTIONS

Ravi Gaurav
Giga Sage
Giga Sage

Hi @marrikruthi 
My suggestion will be use "Wait for Duration" logic within your flow to check if a task was approved, rejected,

 

Diagram to make you understand

RaviGaurav_0-1724659888362.png

 

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

ï”— YouTube: https://www.youtube.com/@learnservicenowwithravi
ï”— LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

Amit Verma
Kilo Patron
Kilo Patron

Hi @marrikruthi 

 

If I understood your requirement clearly, you want to have a timer on the Approval Task. If yes, in the Ask for Approval Action, you can configure Due Date field to Either Approve/Reject/Cancel the Approval Task after a specific or relative amount of time.

 

AmitVerma_0-1724669401591.png

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

View solution in original post

5 REPLIES 5

Mark Manders
Mega Patron

I think this is something you will be using more often, so I would create a subflow for it. Within that subflow you set the 'wait for x time' and then do a check to see if there has been a response or not. Depending on your requirements (looking at re-useability), you can either send back a response to your main flow to create the emails and do stuff with your item, or handle that within the subflow and just send a signal back to the main flow to cancel the approvals.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Sandeep Rajput
Tera Patron
Tera Patron

@marrikruthi You can use wait for duration flow logic within your flow and wait for a certain duration to check if the task was approved/rejected or if no action was taken please refer to https://docs.servicenow.com/bundle/xanadu-build-workflows/page/administer/flow-designer/concept/flow... to know more about the same.

Ravi Gaurav
Giga Sage
Giga Sage

Hi @marrikruthi 
My suggestion will be use "Wait for Duration" logic within your flow to check if a task was approved, rejected,

 

Diagram to make you understand

RaviGaurav_0-1724659888362.png

 

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

ï”— YouTube: https://www.youtube.com/@learnservicenowwithravi
ï”— LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

Amit Verma
Kilo Patron
Kilo Patron

Hi @marrikruthi 

 

If I understood your requirement clearly, you want to have a timer on the Approval Task. If yes, in the Ask for Approval Action, you can configure Due Date field to Either Approve/Reject/Cancel the Approval Task after a specific or relative amount of time.

 

AmitVerma_0-1724669401591.png

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.