Decision Table "Evaluate All Rows" clears column
Checking "Evaluate All Rows" on the Results tab turns the Return column empty on the Table tab.
Steps to Reproduce
1. Create a decision table with return values.
2. Check the "Evaluate All Rows" checkbox in the Results tab. The return column is displayed empty.
This is an expected behavior.
Decisions Tables work differently when using the “Evaluate All Rows” option as opposed to the regular “if/else – if/otherwise” approach.
In the latter case, when using “if/else – if/otherwise” only, you determine a return value, and you can optionally set property values. Once a condition is satisfied by a property or parameter, the specified actions are performed (for example, properties are set), the return value will be provided as the result, and the execution will be terminated. No further comparisons are made, no other conditions are checked after the first satisfied one.
When checking “Evaluate All Rows”, no value can be returned from the Decision Table. This is because all rows will be checked, and for each, their actions are performed when their condition is satisfied. So properties can be set, but no return value is allowed. This is also reflected by switching from “if/else” to “when”.
87% found this useful