Original Message:
Sent: 06-21-2023 12:22
From: Carlos Mestre
Subject: Conditional Expression on Security Group
Same thing happens. I am able to Complete the WO unless both requirements are met. Your expression makes total sense, so I don't understand why it isn't being applied correctly.
------------------------------
Carlos Mestre
Home Depot
------------------------------
Original Message:
Sent: 06-21-2023 11:21
From: Dragos Chitu
Subject: Conditional Expression on Security Group
Try this:
(:WORKTYPE!='IL') or (:THD_WORKCODE not in ('MECH CONTRACT LABOR','MECH PARTS MGT'))
------------------------------
Dragos Chitu
EL
Original Message:
Sent: 06-21-2023 11:08
From: Carlos Mestre
Subject: Conditional Expression on Security Group
Thanks Dragos. I have tested your expression, but I am still able to Complete the WO unless both requirements are met. I don't know why the "OR" is not being triggered. The system is processing the OR as an AND, and it shouldn't. Has anyone else experienced this with conditional expressions?
------------------------------
Carlos Mestre
Home Depot
Original Message:
Sent: 06-21-2023 11:00
From: Dragos Chitu
Subject: Conditional Expression on Security Group
I think you are missing the colon sign (:) in front of field names.
Something like:
:WORKTYPE!='IL' or :THD_WORKCODE not in ('MECH CONTRACT LABOR','MECH PARTS MGT')
------------------------------
Dragos Chitu
EL