You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are planning on using v6.0.5 (or higher) of the RuleEngine but we'd like to return 2 values for each Rule that was successful: a Score and a Reason. We want to add all the Scores together after all Rules are processed, and display a Reason for each rule that was successful. Of course we can return something like "5|rule 25 was triggered" and "10|rule 23 was triggered" for SuccessEvent and parse the Score out of that but that feels hacky.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are planning on using v6.0.5 (or higher) of the RuleEngine but we'd like to return 2 values for each Rule that was successful: a Score and a Reason. We want to add all the Scores together after all Rules are processed, and display a Reason for each rule that was successful. Of course we can return something like "5|rule 25 was triggered" and "10|rule 23 was triggered" for SuccessEvent and parse the Score out of that but that feels hacky.
Any tips?
Beta Was this translation helpful? Give feedback.
All reactions