Timer on Task Assignment

1
0
-1

We have a requirement to have a Timer event triggered when user picks/assigns the task to himself. Is it possible to implement the solution on a human task?

Comments

Submitted by gpscruise on Thu, 12/17/2015 - 15:33

didn't i see a question like that just yesterday? Perhaps search the site...

Submitted by Quentin Choulet on Mon, 12/21/2015 - 14:24

Hi,

This is the same question , but it hasn't been answered

I have no clue how to do that. Maybe this question, or this one will help you to find a solution.

Regards

1 answer

1
0
-1

What might work (I didn't try it) is to include a boundary timer event (interrupting or non-interrupting depending on your use case) on the task.

Such event start when the task is available and this is not what you want. So my proposal here would be to have an initial duration close to infinite and use "Event handlers" to update the deadline once someone claim the task.

You should be able to catch an event when task get assigned. In the event handler you can perform API call to update the timer expiration date (see searchTimerEventTriggerInstances and updateExecutionDateOfTimerEventTriggerInstance).

Notifications