Originally asked by Support on 03 February 2023 (original question)
Hi,
I haven’t used exalate for a long time, but now I need help with a simple conditional statement.
Basically, I would need multiple ORs with &&. Could you guide me to the document or help me with it?
The conditional statement would be like:
If (issue.status.id != (1,4, 1029) && replica.status.id=6) {
}
Regards.
Comments:
Support commented on 03 March 2023
Hi,
I am checking your question, may you please try as below?
if ([1,4,1029].every{it != issue.status.id} && replica.status.id == 6) {
.....
}
Feel free to contact us back if you need more help.
Regards,
Harold Oconitrillo