Parallel task isn't aborted

Description

Hi all,

I created a simple workflow that has some parallel tasks to be executed.

Refer to the attached image of the workflow for more context.

I execute task 3 and arriving at task 4 I see that task 4 is alive and task 2 is also alive.
The bug for me is that task 2 shouldn't be alive because of the Exclusive gateway.

Tested on 7.3.3 and 7.5.0.
Happens on both.

Best Regards,
Ivo Santos

Environment

Windows 10 x64

External Link

None

Workaround

None

Activity

Show:
Antoine Mottier
July 10, 2017, 1:56 PM

Actually this is not a bug but the expected behavior according to BPMN 2.0 specification.
On page 291, you will find the following explanation: "A converging Exclusive Gateway is used to merge alternative paths. Each incoming Sequence Flow token is routed to the outgoing Sequence Flow without synchronization.".

You can find attach to the bug report a solution (screenshot + bos file) that demonstrate how to use intermediate throw message events, boundary catch message events and end events (end events only terminate ab branch not the whole process instance compare to terminate end event).

Ivo Santos
July 10, 2017, 2:36 PM

Hi Antoine,

Thanks for the quick response.
Thanks for the example.

Bonita didn't worked this way on older versions.

The example that you gave is interesting but just for a low number of branches.

I will use the solution that you modeled on the attached BOS.

Best Regards,
Ivo Santos

Antoine Mottier
July 10, 2017, 2:45 PM

You are right, this behavior has changed with the release of version 6.0.0.

Not a bug

Assignee

Antoine Mottier

Reporter

Ivo Santos

Affects versions

Reference

None

Fix versions

Configure