cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

Former Member
0 Likes
372

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 Member
0 Likes

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 Likes

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.