Skip to content

Exclusive Gateway Plugin

Leon Bein edited this page Feb 26, 2024 · 1 revision

XML Tag Name

exclusiveGateway

Short description

This plug-in adds support for BPMN exclusive OR gateways via branching probabilities.

Dependencies to other plugins

None

Collaborations

Together with the data object plugin, branching decisions can alternatively be done based on data conditions.

Detailed description

For each XOR gateway in the process model, there must be a respective element in the simulation configuration of the following form:

    <bsim:exclusiveGateway id="[Id of BPMN Gateway as String]">
      <bsim:outgoingSequenceFlow id="[Id of BPMN Flow as String]">
        <bsim:branchingProbability>[Float between 0 and 1]</bsim:branchingProbability>
      </bsim:outgoingSequenceFlow>
      <bsim:outgoingSequenceFlow id="[Id of other BPMN Flow as String]">
        <bsim:branchingProbability>[Float between 0 and 1]</bsim:branchingProbability>
      </bsim:outgoingSequenceFlow>
      [...]
    </bsim:exclusiveGateway>

Where brackets indicate placeholders. The configuration element must contain one outgoingSequenceFlow for each bpmn sequence flow going out of the gateway. All branching probabilities must add up to 1.0.