0

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.

sriniprash
  • 121
  • 1
  • 7
  • ACTIVATION-GROUP is a concept where you can give a set of rules a group name. by default kogito or drools will execute all the matched rules and the out put is given. In my use case under one rule-unit, i want a matching rule to be executed and once a match is found ..the engine should exit. so i used activation group concept to group all the rules under one group and executed them. – Fryder Nov 25 '22 at 16:50

0 Answers0