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

Joshuu
Kilo Sage

Hi Ankur,

Is this inbuilt in SNOW?

Actually this is happening when the 2nd level of approval is approved after the 1st level of timer is over. So, I think better we increase days for the 1st level timer and have to decrease the 2nd level then the issue will be resolved.

PFB: I have approved both approvals before timer expires.

find_real_file.png

Please suggest.

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
 
 

 

Hello Sukrit,

But in the subflow also it will be the same right. How is it possible?

Can you explain..

Thank you for the response.

Priya.

Sukrit
Giga Contributor

Hi Priya, 

In sub-flow you will be having timer and approval as parallel activities.

CASE 1: if approvals are completed then when the sub-flow would end timer would get cancelled.

CASE 2: if timer get completed then when sub-flow would end it would make the approvals as no longer required.

So, you wont be having any active timer or approval left open.

 

Thanks

Ok, so you are saying after 1st if activity if requester is not SOM? then I should add a subflow only just with approvals and timer as below is it?

find_real_file.png

Please confirm.

Thanks,

Priya.