Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4960

Inclusive gateway triggers too early when an upstream token waits in two nested scopes without outgoing flows

    XMLWordPrintable

Details

    Description

      This problem can occur in process models where there is a joining inclusive gateway and there are two nested scopes on a path leading to that gateway. An execution must be in a wait state within the inner scope and the inner scope must have no outgoing sequence flow.

      Example diagrams attached. When Task A is completed first, the inclusive gateway immediately fires, leading to overall two instances of Task C.

      Reason: poor implementation of org.camunda.bpm.engine.impl.bpmn.behavior.InclusiveGatewayActivityBehavior#isReachable

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce