How to set Timer in workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 06:25 AM
Hi
i have request like this,
if 1st - approval didn't approved with in 1-day , then goto setValue "Cancelled"--End
if approved with in 1-day , goto 2nd- approval , if 2nd approval didn't approved with in 1-day, then goto setValue "Cancelled"--End.
if TWO approvals approved with in 1-day then goto Setvalue-" complete"---END.
So how should i use timer here...???
The Workflow is on Custom Table

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 06:44 AM
Hi,
This sounds like you'd need to branch to both the approval request and then a timer activity at the same time. Set the timer for 1 day...and then after the timer activity, draw line to Rejected. Same thing for next activity, one line to the next approval, one line to the next timer activity for 1 day (or set it yourself to 11:59PM that same day...that part you'll have to decide yourself, but the gist of what I'm saying applies).
So basically if any of the time activities pass their time it ends, if they never get to, because the approvals came in, then it comes to completed.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 07:30 AM
Good Morning,
I see you're working with someone else, but I literally said the exact same thing up here before they did.
Either way, let me know if you need assistance...
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 06:45 AM
Hi Chanikya,
you can use timer activity after the approval; so there would be 2 outputs from set values activity
1st goes to timer of 1 day
2nd goes to approval activity
the workflow will either proceed when somebody approves within 1 day or when 1 day crossed; similarly you can do for 2nd approval
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 06:54 AM
No,
1st approval not approved with in 1-day directly cancel Request