Skip to Content
0

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

Feb 09, 2017 at 11:56 AM

66

avatar image

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 )

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

krishna gautam Feb 12, 2017 at 10:26 AM
0

yes Mark ,

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

Regards,

Prakash

Share
10 |10000 characters needed characters left characters exceeded
Mark Pfister
Feb 09, 2017 at 12:15 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded