How to avoid Rules Conflict in Drools

29 views
Skip to first unread message

vinay gupta

unread,
Feb 15, 2022, 1:27:57 AM2/15/22
to Drools Usage
Hi All

During rules creation in .drl file, there are chances that more than 1 rule satisfied for a particular facts. My question is :
1. While adding rule to already existing drl rule file, do we need to update all the existing rules to avoid rules conflict.
2. when there is a conflict, how to avoid it ?

Please suggest.

Thanks
Vinay

Toshiya Kobayashi

unread,
Feb 28, 2022, 1:00:38 AM2/28/22
to Drools Usage
Probably what you want is activation-group?

An activation group is a set of rules bound together by the same activation-group rule attribute. In this group, only one rule can be executed.
~~~

Cheers,
Toshiya

2022年2月15日火曜日 15:27:57 UTC+9 vinayg...@gmail.com:
Reply all
Reply to author
Forward
0 new messages