Hello,

 

What is the most straightforward example of using a decision table for rules(CSV or Excel) within the sample code?

 

Essentially I want to check if it would work for the usage case where I want the end user to be able to set all sorts of parameter limit values for rules on objects being evaluate by rules.  Also I would like for them to be able to set limits on combinations of objects via decision tables. Allowing the user to state specifically in the decision table something like:

 

If I have more than 3 of these objects then look at the fieldB of all these objects, if any of these have “X” for fieldB then look at fieldC for all of them and sum the total of all fieldC ‘s for all objects in memory and if that number is above “Z” then do something

 

But if there are less than 3 but more than 1(essentially 2) of these objects, then simply look at fieldC for both objects and reset fieldD for whichever object has a lower value for fieldM.

 

Can decision tables be made to handlie this sort of flexible and extensible decision matrix, or would that not be good fit for scenarios like this?

 

Thanks,

Chris