OR vs XOR gateway

Can anyone explain the difference between the usage of XOR and OR gateway through a real world business process?...

OriginalPostID-74453

OriginalPostID-74453

  Discussion posts and replies are publicly visible

Parents
  • Hello Himanshu, It is very well explained in the links provided below,
    XOR - forum.appian.com/.../XOR_Node
    OR - forum.appian.com/.../OR_Gateway

    However to give you a gist,
    - XOR Gateway: there are can multiple conditions configured but the first condition to be satisfied (returning a true) will take precedence and that particular flow will proceed. So it is like an - if..else ifs..else statement
    In case of OR - there can be multiple conditions and all conditions satisfying will flow. So it is like a bunch of if statements and all those conditions returning a true will flow through.
    As per the Best Practise we should be avoiding the usage of OR Gateway provided there is a valid business requirement (design) which makes/mandates us to use it.
    Hope this helps.
Reply
  • Hello Himanshu, It is very well explained in the links provided below,
    XOR - forum.appian.com/.../XOR_Node
    OR - forum.appian.com/.../OR_Gateway

    However to give you a gist,
    - XOR Gateway: there are can multiple conditions configured but the first condition to be satisfied (returning a true) will take precedence and that particular flow will proceed. So it is like an - if..else ifs..else statement
    In case of OR - there can be multiple conditions and all conditions satisfying will flow. So it is like a bunch of if statements and all those conditions returning a true will flow through.
    As per the Best Practise we should be avoiding the usage of OR Gateway provided there is a valid business requirement (design) which makes/mandates us to use it.
    Hope this helps.
Children
No Data