gitgabrio opened a new issue, #6956:
URL: https://github.com/apache/incubator-kie/issues/6956

   
   
   [Drl 
definition](https://github.com/kiegroup/kie-issues/files/11947345/ruleAuto.txt)
   
   
   
   Scenario 1:
   **m : HashMap( this["age"] > 14 && this["clicks"] + this["visits"] > 500 )**
   
   For a rule with conditions like the above, the second part this["clicks"] + 
this["visits"] > 500 throws an exception if any of the parameters are missing 
in the HashMap. When an exception is thrown in any of the rules in a kie 
session, the whole kie session gets terminated without any further execution or 
rule outcome.
   
   Scenario 2:
   **m : HashMap(  Double.parseDouble(this["visits"]) > 500 )**
   
   Here, if the visits param is null, then there will be an exception thrown 
from the rule and the whole kie session will be affected.
   
   Scenario one is available in  [Drools sample 
app](https://github.com/aymar99/drools_sample_app/tree/main)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to