What's the correct syntax for a conditional expression on an exclusive gateway where you need multiple and/or statements? Does the use of nested parentheses influence the order the statements are evaluated in?
I want the path to proceed down this branch if:
- User requests a transfer or new interim location
- AND the new location is one of these: CAMPUS A, CAMPUS B, DEPT 1
- AND the current location is not one of these: CAMPUS A, CAMPUS B, DEPT 1
I tried using parentheses to group the and/or statements as demonstrated below, but it doesn't seem to be working (variables and values are correct). Am I missing something with the logic or syntax or the use of parentheses?
(/dataset/Action_Requested/Transfer="checked" or /dataset/interim_assignment_location="new location")
and
(/dataset/new_position_campus="CAMPUS A" or /dataset/new_position_campus="CAMPUS B" or /dataset/new_position_dept="DEPT 1")
and
(/dataset/current_campus!="CAMPUS A" and /dataset/current_campus!="CAMPUS B" and /dataset/current_dept!="DEPT 1")