BPMN with Timers and Java Listeners

Hi, I am supposed to modify existing bubsiness process. We currently have a user task which is waiting for a user to change status in system. Flow should be like that:

  • send email to responsible person after 1 day if no action has been taken
  • change status of process → close after 2 days if still no action has been taken

    I modelled it like above but first timer consumes token, how should I modify that that after email sent process with second timer will still be executed?

Anyone can help a bit?

The token is only consumed by the interrupting boundary events and by the terminate (or error) end event. So I guess it always “is Privat”, so after the first timer tokens are destroyed.

Anyway I wouldn’t model it like that. Why does a user have to wait for action? Can’t this be the start condition of the process? Then make a task with what the user actually has to do and make it completable (happy path).

1 Like

Hi @Aleksander_B

Considering assignee as an external party, the process can be modeled as in below

Considering using a user task, the process can be modeled as in below

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.