Skip to Content

What will the effect of using "In" while evaluation of multiple values make in the Rule?

We are using

If

Customer/@Age In 20,21,23

Then

Assign :

as one of the condition in Rule Scripts to make a decision comparing multiple values.

Will that evaluate just the first Value 20 or the rest of the values too?

If no then what is the alternative way to evaluate all 3 values.

Regards,

Ranjitha

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 18, 2014 at 07:02 AM

    So basically you want to do an OR between the three values, right? In that case, yes, "In" will match against all the values. (If you think logically, why would the system let you specify three values if it were to match with just the first value?)

    Regards,

    Akshat

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.