cancel
Showing results for 
Search instead for 
Did you mean: 

EHS Rule editor - How to combine three different scenarios into one rule

former_member212503
Participant
0 Kudos

Hello guys ,

I am trying to develop different scenarios to put into one rule . Not able to achieve below condition .Do you have any exp on writing similar rules in an editor. Since IF and THEN are under different sections how can we point individual IF to THEN if we write three IF commands in one box and three THEN commands in THEN section of Rule editor .


Let's say

if x=y then output a=b ( which is now working )
AND if p=q or r or S or t then output a=b ( need to find a syntax which does this )
BUT if p= u or v or w then output a=c . ( need to find a syntax which does this )

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member212503
Participant
0 Kudos

yes Mark ,

you are right . How can we insert ELSEIF part in IF and THEN part of rule editor ?

Regards,

Prakash

Mark-Pfister
Active Contributor
0 Kudos

Can you describe your problem in a more structure way using IF ELSE ELSEIF Statements to make clear what you are trying to achieve?

Do you want to do this?

IF x=y or p=q or p=r or p=sr
  a=b.
ELSEIF ( p=u OR p=v OR p=w)
  a=c. 
ENDIF.