XOR gateway expression

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 

  Discussion posts and replies are publicly visible

Parents Reply
  • I think (but not 100% sure) that Mike has already addressed this.

    If the pv!tasktype=con!MODIFY_TASK and pv!approved=TRUE then it will take the first path, the AdminApproval path, regardless of what pv!segemnt.serviceDate is.

    It may help to have a screenshot of the XOR node along with any code that is being evaluated that isn't visible because otherwise we're just guessing.

Children
No Data