Please let me know how to use ".?" (null safe operator) in drools decision table(Spreadsheet). Attached my spreadsheet, where for mdcl object I need to add null safe operator. Please let me know if I need to add additional information, as I'm new to Drools.
相关问题
- Is there any means by which I could evaluate the t
- Checking if an object of a list has some value wit
- Drools 6 sisu-guava conflicts with guava
- Drools Dynamic rule file generation from database
- Drools add rules from another project into kmodule
相关文章
- what is the difference between no-loop and lock-on
- Compile drools guided decision table into rules
- Exception handling at individual rule level - Droo
- Drools Rules Template - first invocation 1000 time
- drools dsl adding expression to last pattern with
- org.xml.sax.SAXParseException: cvc-complex-type.2.
- How to dynamically change the rules of a given Dro
- Spring boot and drools integration
The null-safe operator in Drools is
!.
, not.?
- see the documentation. You can use it inside decision tables just as you would when writing rules.In your example, change the condition from
mdcl.MDCL_Health.get("MDCL").Value
tomdcl!.MDCL_Health.get("MDCL").Value
to only fire the rule ifmdcl
is not null.