Mathematical Expressions in RE #124
Unanswered
jncengineering
asked this question in
Q&A
Replies: 1 comment
-
If you are looking for assigning a variable to use later, have a look at ScopedParams If you want custom output, you can use Post rule execution actions Hope this helps 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to include mathematical expressions in RE?
Taking the GiveDiscount10 rule example, I understand that the "Expression" is a string evaluated to a boolean. Depending on the result, the "SuccessEvent" is called or not.
In my particular case, I would like to be able for example, to calculate the area of the rectangle from two parameters (Length x Width) and assign the result to another variable (Area) - Area = Length x Width. Something like:
Is it possible to assign results of mathematical expressions to other variables for further use using RE?
Beta Was this translation helpful? Give feedback.
All reactions