Possible to programmatically change the rules in a decision table?
Is there any way to programmatically change the rules in a decision table? For example, if we have a rule set up age > 18 and age <25, the return value is xxx. xxx will need to be dynamically changed every day. Of course, there will be other age breakout. So we would like to find the matching age breakout and update the return value. Is that possible?
***Updated by moderator: Lochan to add Categories***
In theory you could do this (in theory you can change any PRPC rule programatically - using an OBJ-OPEN to fetch the definition, then alter the properties, and re-save it).
But can you use Parameters to influence the behaviour of the Decision Table ? I *think* (I would have to try though) you can compare properties with properties as well (rather than hardcoding a number like 18,25 etc?)
(Can you do something like .age > .minimumAge etc)
It might be helpful to have some context around the business problem you are trying to solve. How frequently are these values changed? Is it done by a buisness user? Could you delegate it? Is it coming from an external system? Would storing the values on a data page or other clipboard structure meet your needs?