This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:adminmanual:businessmappings:decisiontable [2020/08/20 21:06] joebordes [IGNORE Reserved Word] |
en:adminmanual:businessmappings:decisiontable [2020/08/20 21:06] (current) joebordes [Default Value] |
||
---|---|---|---|
Line 360: | Line 360: | ||
===== Default Value ===== | ===== Default Value ===== | ||
- | Using the %%__IGNORE__%% reserved word we can implement a default value for our rules. If we define a rule where all the input values are set to %%__IGNORE__%%, this rule will pass for all input values. If we set the hit policy of the decision map to First and order the rules in a way that the all %%__IGNORE__%% rule is always the last to be evaluated we accomplish a decision table where any combination of input values that is not explicitly defined will return the values in the all %%__IGNORE__%% rule instead of %%__DOESNOTPASS__%% | + | Using the %%__IGNORE__%% reserved word we can implement a default value for our rules. If we define a rule where all the input values are set to %%__IGNORE__%%, this rule will pass for all input values. If we set the hit policy of the decision map to First and order the rules in a way that the all %%__IGNORE__%% rule is always the last to be evaluated we accomplish a decision table where any combination of input values that is not explicitly defined will return the values in the all %%__IGNORE__%% rule instead of %%__DoesNotPass__%% |
===== Preprocess Directive ===== | ===== Preprocess Directive ===== | ||