Need to pause a task after some specified time

Certified Associate Developer

Hello All,

 

We have a workflow where user can pause the task anytime after accepting it. Basically we are making some logic that shows users overall worked time and due to this we gave the facility to pause the task which stops the timing calculation and starts again when user re-accept it. Now we need to automate this process in such a way that when a task is accepted and remains idle for 12 hours then it will automatically gets paused. 

 

I thought of 2 solutions here, one was to use exception property of user input task and another one was to use timer inside process model but in both the cases, Task will be paused after 12 hours no matter whether user has accepted it or not. In our case we only need to pause it when user has accepted it and keeps that idle for 12 hours. I hope my requirement is clear. Any suggestion here will be highly appreciated. Thanks in advance

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to snehab848
    Still I tried the below condition inside Exception>Skip node after specified date and time like below

    =if(and(not(isnull(tp!owner)),len(tp!owner)>0),now()+intervalds(0,1,0),now()+10)

    but it seems as if its considering tp!owner as null because according to my logic it should move on after one minute but its almost 3 mins and the focus is still on task form
Children
No Data