Replies: 1 comment
-
As a RulesEngine user, I see the following:
maybe it's better to build several rules matching rule ranges by using an Operator = "OrElse", each rule having the range of interest, but having an OutputExpression CustomAction that returns a Global or Local Param i.e. (not checked): GlobalParams (or local, inside the corresponding rule) |
Beta Was this translation helpful? Give feedback.
-
I am trying to write a rule that returns a different output depending on the value of the input.
I have an age range and I want to return different "points" based on user's age. All the examples that I have found have a standard output.
I want to achieve something like the following while avoiding to create a different rule for every age range.:
age output
<55 = +0
55-59 = +1
60-64 = +2
etc
Is it possible?
Thanks !!
Beta Was this translation helpful? Give feedback.
All reactions