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
  • 0
    Certified Lead Developer
    Hi Vivek and Snehal,
    tp!owner will give you value once task is submitted/ended i.e. output tab executed. Though task accepted but value will not reflect in process. Only way you can check in task report immediate after task accepted.
    So to resolve your problem, I would suggest, ask user any activity or action while accepting a task, so that you can set a boolean flag and parallel rule event can be used to achieve that. Also, you can achieve this by start exception. Thanks
Reply
  • 0
    Certified Lead Developer
    Hi Vivek and Snehal,
    tp!owner will give you value once task is submitted/ended i.e. output tab executed. Though task accepted but value will not reflect in process. Only way you can check in task report immediate after task accepted.
    So to resolve your problem, I would suggest, ask user any activity or action while accepting a task, so that you can set a boolean flag and parallel rule event can be used to achieve that. Also, you can achieve this by start exception. Thanks
Children
No Data