Human task with parallel iteration and boundary timer

Hi experts,

I’m using Bonita Community 7.2.3. I have this process:

https://josegante.tinytake.com/sf/ODI3MjQyXzM2NDE1MTA

…where I have a Human Task with a parallel iteration. I’ve noticed that, after adding a boundary timer to it, for sending a reminder email, the reminder is only sent once, no matter the task is replicated 5 times to 5 different users.

Can anybody suggest a solution?

Regards,
Jose.

Hi Jose,

This is the behavior described by BPMN 2.0. An interrupting boundary event on a multi-instance activity will cancel all the instances of this activity.

What you could do is to have the automatic task multi-instanciated too.

Cheers

Thanks a lot for your help Lio.

I’ve tried to change the boundary event to be non-interrupting, and still only 1 reminder is sent.

“What you could do is to have the automatic task multi-instanciated too.”

What you mean with this? Could you please elaborate a bit more?

Best regards,
Jose.

Hi,

Sure. So you can configure the service task to be multi instanciated based on a list. Let’s call it list A.

This list A will be populated by the result of the execution of the multi instanciated human task. Each time, an instance will be completed, a new entry will be added into the list A.
When the boundary event fires, the service task will be reached and N instances of that automatic task will be created, N corresponding to the number of entries in the list A.

Cheers

Excellent! Very helpful Lio.