XOR Gateway Stuck

XOR gate struck when it comes the second time , any help would be appreciated !!


OriginalPostID-200649

OriginalPostID-200649

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    As Christine has said, use a script task to merge the two flows.

    It should be noted that it is actually possible to have multiple inbound flows to an XOR but, if the flow moves through that XOR more than once, it will get "stuck" as you have discovered.

    It could be argued that the behaviour is actually a bug, as the BPMN 2.0 specification indicates that an uncontrolled merge (ie using a script task to merge) should provide the same behaviour as a controlled merge (ie using an XOR) - but I doubt we'll see that change anytime soon.
Reply
  • 0
    Certified Lead Developer
    As Christine has said, use a script task to merge the two flows.

    It should be noted that it is actually possible to have multiple inbound flows to an XOR but, if the flow moves through that XOR more than once, it will get "stuck" as you have discovered.

    It could be argued that the behaviour is actually a bug, as the BPMN 2.0 specification indicates that an uncontrolled merge (ie using a script task to merge) should provide the same behaviour as a controlled merge (ie using an XOR) - but I doubt we'll see that change anytime soon.
Children
No Data