Getting Error while implementing OR Conditon #351
-
Getting error : Rule must have at least one match action I need to Add OR condition in my Rule some thiing like below When() this is not working , can you please help me to construct the rule |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@rpulekar it would be nice when you say "it's not working" to give not just a snippet, but a unit test that can be executed, to demonstrate what exactly is not working, and also include the error message/trace/etc. Just at a glance, what you are looking for is this: When()
.Match(() => input , input.condition == 'value1' || input.condition == 'value2'); |
Beta Was this translation helpful? Give feedback.
@rpulekar it would be nice when you say "it's not working" to give not just a snippet, but a unit test that can be executed, to demonstrate what exactly is not working, and also include the error message/trace/etc.
Just at a glance, what you are looking for is this: