Query regarding - when a user accepts the task

Certified Senior Developer

We have a user input task assigned to a group and a user accepts the task, is there a way we can capture those task details to separate table in DB when that task is in accepted state before the task gets completed.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Arun P

    Hi Arun,

    I have an approach in my mind that can work. You can start two parallel flows. 1 - To assign the task, 2 - To run a loop inside the process model that has a delay of 120 seconds. In every iteration of that loop, you query the task report to see if the task status has been changed to 'accepted'. If yes, you can break that loop. 

    Now the value of delay can be configured depending on the use case and additional checks can be applied to stop the infinite run of the loop. 

Children