Is it possible to set priority for a flow when using a parallel gateway in BPM Suite 6.4?

Solution Verified - Updated -

Environment

Red Hat JBoss BPM Suite (BRMS) 6

Issue

  • Is there any way to configure which flow will be executed at first when using a parallel gateway?
  • A different priority was set for a sequence flows after a parallel gateway. However, it is executing any flow and does not take into account its priority.

Resolution

This is the expected behaviour. Priorities are NOT taken into account when using parallel gateways (they are used for XOR and similar), it should not rely on connections being triggered in any specific order (and currently there is no way to make it behave as such). This is part of the execution semantics as defined in the BPMN2 specification.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments