Andrej
Andrej

Reputation: 838

BPMN gateways execution

hello if I execute task1 once how many times will be executed task 4?

  1. Exclusive (XOR) gateway enter image description here
  2. Parallel (IN) gateway enter image description here
  3. Event-Based gateway enter image description here
  4. Inclusive gateway enter image description here
  5. Without gateway enter image description here

Upvotes: 2

Views: 1107

Answers (1)

Martin Schimak
Martin Schimak

Reputation: 1373

  1. Once (either after task 2 or after task 3)
  2. Once (after synchronization)
  3. is syntactically wrong, as event based gateways must be followed by catching events (or receive tasks)
  4. Once (after synchronization or after task 2 or after task 3)
  5. Twice (because of implicit flow semantics: parallelization for outgoing flows. implicit xor semantics for incoming flows)

(I've intentionally neglected any run time errors which might happen before task 4, e.g. in case no condition attached to a data based gateway's outgoing sequence flow evaluates to true)

Upvotes: 3

Related Questions