AnsweredAssumed Answered

No AND operator?? Work around?

Question asked by JamesFenoulhet611119 on Jan 11, 2016
Latest reply on Jan 21, 2016 by Mark_Hadler_430
Was using the IF statements to work out some logic for a job and I wanted to say
IF &example# = "1" AND &example2# > "10:00:00"
:Set email etc etc
IF &example# = "0" AND &example2# > "10:00:00"
:set &ret#=ACTIVATE_UC_OBJECT etc etc

But reading through the help files it doesnt look like AND is a valid operator in the IF.. ELSE. Is that right? Am I being blind? 

What is the way around using an AND operator that would be considered best practice?

i ended up doing an ADD (example1 + example2 = 2) to get an outcome that equals 2 which would indicate a failed state so if the ADD came to 1 in either way it was working ok, but this seemed a long way of doing it.