I need to manage multiple rulesets as follows:
Ruleset1:
- rule1
- rule2
- rule3
Ruleset2:
- rule4
- rule5
- rule6
Each ruleset is in it's own DRL file for ease of management. At any moment, I want to execute one of these rulesets. I came across the concept of ruleunit's in Kogito.
Question I have is: How can I at runtime trigger a particular ruleunit ? I could not find an example in: https://github.com/kiegroup/kogito-examples that deals with multiple rule-units and triggers the correct one at runtime based on some criteria.