Is there any easier way to handle Null checks for parameters when using decision tables in drools? What i am trying to do is to migrate certain business rules in java to drools and so happens that the data is abstracted into multiple layers of objects. So unless i do a null check on them i am not able to proceed. Any suggestions are welcome. The business rule that i want to move to a decision table is of the form:
> When new A().getB().getC().getData() > 0 then
> System.out.println("Result found");
Its just too much of a pain to write a condition corresponding to null check of every field
Thanks in Advance.