Skip to main content
March 10, 2022
Question

XOR gateway expression

  • March 10, 2022
  • 7 replies
  • 1 view

I have process with multiple approvals. Manager approval i had to give condition in XOR  that the tasktype is modified and particular field is changed then it should go to   Admin approval.Otherwise it should skip the Admin flow. i have given this condition in XOR:

 if  = and(pv!approved,or(pv!tasktype=con!MODIFY_TASK,pv!segemnt.serviceDate - true -goto-AdminApproval,

Else if =pv!approved-true-go to join

else if no rules are true - go to - accontant.

Thanks 

    7 replies

    mikes0011
    Brainy
    March 10, 2022

    Did you have a question?

    The Expression Guru
    March 10, 2022

    yes.. so the process is taking admin flow when ever the tasktype=con!MODIFY_TASK. its not taking the other condition 

    mikes0011
    Brainy
    March 10, 2022

    The second condition is only ever evaluated if the first condition is false - that's how XOR works.

    The Expression Guru