What is the difference between And Or Xor Gateways?

Anybody Can Explain?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    One important thing to understand about merging flows with an AND gateway is that it forces the flow to wait for all parallel flows to complete and reach the AND gateway before it will continue. It's actually useful where needed to use this functionality to block process flow from continuing.

    If you want a process to loop back on itself without complications you need to use a Script Task or User Input Task, even if it's a script task that doesn't do anything. An OR or XOR gate will work fine for the first loop and then crash thereafter. But an empty Script Task before an XOR gateway can be looped any number of times.
Reply
  • 0
    Certified Lead Developer
    One important thing to understand about merging flows with an AND gateway is that it forces the flow to wait for all parallel flows to complete and reach the AND gateway before it will continue. It's actually useful where needed to use this functionality to block process flow from continuing.

    If you want a process to loop back on itself without complications you need to use a Script Task or User Input Task, even if it's a script task that doesn't do anything. An OR or XOR gate will work fine for the first loop and then crash thereafter. But an empty Script Task before an XOR gateway can be looped any number of times.
Children
No Data