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
You can instead create multiple conditions such that one condition is for the category and other is for its frequency. The "all" clause will ensure that the condition rule is satisfied iff both of these are true.
Also note that you should separate out the category into a different variable. Think of variables as smallest divisible units of potential business logic.
Hi, I have been trying to evaluate business rules for a project that I am working on, and I can't figure out how to parametrize a rule:
For example, I want to trigger the rule if it matches a specific configuration. A product has
category
, and thecategory
isbooks
, andfrequency
is 1.It is not possible to pass a more complex objects into the rule variables? Or pass parameters?
How do you address that?
Thank you!
The text was updated successfully, but these errors were encountered: