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
  • 0
    Certified Lead Developer
    in reply to bin18

    When you say "field value is false" are you talking about pv!approved?  If so I'm not sure what might be happening, without seeing some sort of confirmation of all the variable values in your process instance.  One additional thing I was going to warn you about is, in an and() statement, you should be aware that if any value it receives resolves to null(), the and() will treat that as TRUE for some reason.  So absolutely make sure your pv!approved contains a true or false value and not a null.

Children
No Data