How to cancel a timer in workflow

Joshuu
Kilo Sage

Hello All,

As shown below, I want the timer should be cancelled once if the approval is completed before 3 days of time. If not completed then it should go to the 2nd level of approval from the timer.

find_real_file.png

What should the next activity in the workflow?

Please assist.

Thanks,

Priya.

1 ACCEPTED SOLUTION

Sukrit
Giga Contributor
Hi Priyarao,
 
I think this can be easily solved by using a sub-flow. Just make another workflow with timer and approvals (these should begin and end together) and call this workflow in the workflow that you have built.
 
Hope this works 🙂
 
Thanks
 
 

 

View solution in original post

27 REPLIES 27

Kajal Goti
Mega Guru

Hi priyarao,

 

Here you need to check if condition where you checked if first approval is approved then go for next approval activity

 

Other wise flow connect with timer of  3 days

 

Please mark as correct/Helpful, If you find any help

Joshuu
Kilo Sage

Hi Kajal,

But here the timer is also running parallelly even if the approval is approved.

Could you please help. 

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you already have other activity in parallel to the timer activity.

once the other activity proceeds the timer might still run

it only gets cancelled when the workflow reaches end before the timer ends

Regards
Ankur

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

Joshuu
Kilo Sage

Hello Ankur,

It is true. It is cancelling only when the workflow reaches end before the timer ends.

What is the possible way to do this?

My concern is if the approval is not approved within 3 days of time then it should skip the current approval and go to the next approval activity. Incase 1st one is approved then the timer should be cancelled.