]
Bishnu Shankar Pandey commented on DROOLS-5135:
-----------------------------------------------
Thank you so much for the response. I am reopening this issue by adding my point.
Let's say I have a map object inside Foo class and I have configured rule on that map
object that was working fine. Because of some change in the schema of the event one of the
map column not coming with the data. Drools will through error on the rules which is being
configured on that column. Throwing error will affect other rules also. Is there any way
to restrict one rule to affect the execution of other rule because there is an
error/exception in that rule?
Drools Setup › Exception Handling in Drools Rule Condition
-----------------------------------------------------------
Key: DROOLS-5135
URL:
https://issues.redhat.com/browse/DROOLS-5135
Project: Drools
Issue Type: Bug
Components: Guided Rule Editor
Affects Versions: 7.15.0.Final
Reporter: Bishnu Shankar Pandey
Assignee: Mario Fusco
Priority: Major
How can we do rule wise exception handling in the drools rule condition? My scenario is
how to handle scenarios when the schema of an event changes.
For example, let's say Initially I have an event that has 5 members namely
name,num1,num2,num3,num4. I started creating rules for the event and the rule engine is
running for some time. After that let's assume there is a scenario in which one of the
class members (say num4) is removed from the event because of some reason. Now what I can
do now is to change the Event class, but all the rules associated with that member will
give me exceptions. The exceptions will also affect other rules which can run with the
current data. Is there any way to handle exception in rule condition for specific rule and
restrict it to disturb the independent rules.