Hi,
The thing you explain is actually the expected behaviour. If the process
encounters a rule task, it will examine all rules inside the ruleflowgroup
in question. Rule execution continues until no more matching conditions are
found. From then on, the process continues to the next task.
If you would like to stop the process based on some business rules, you will
have to guide it towards a terminate node or kill it by calling the API.
Guiding towards a terminate node can be done with the help of decision
gateways and (rule) outcomes. The code to kill it via the API can be found
in the documentation.
Regards,
Frank
rchemisa wrote:
Hello,
I'm trying tp understand how does the Rule Set works and I'm experiencing
some problems. I need it to stop
when the process finds a 'rule set' and it doesn't match with the
conditions, however, the process continues even the facts do not fulfill
the conditions.
Can someone explain me how does the 'rule set' works or can u give an
example?
thank you very much
--
View this message in context:
http://drools.46999.n3.nabble.com/RuleSet-RuleFlowGroup-tp3165058p3165831...
Sent from the Drools: User forum mailing list archive at
Nabble.com.