cancel
Showing results for 
Search instead for 
Did you mean: 

How to use or function in Message Mapping?

Former Member
0 Kudos

Hi! I was wondering if anyone can show me how to use the or function.

Im trying to match the current date to three possible values so i need three or functions.

EG. if ( currentDate == 01.02 || currentDate = 02.02 || currentDate = 03.02 ) {

do something;

}

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Petre:

If you want to use standard functions then you try this:

If-->currentdate -OR- Constant(01.02)

currentdate -OR- Constant(02.02) --> OR -->

currentdate -OR- Constant(03.02)

Then give some output

Else give some output

So give the output for the first two conditions to another OR and the result of the third to the same OR. So whenever the condition is true in any of the condition you will get the THEN value else you will get the ELSE value.

---Satish

Answers (0)