Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Decision Table "Evaluate All Rows" clears column

SA-15816

Summary



Checking "Evaluate All Rows" on the Results tab turns the Return column empty on the Table tab.
 

Error Messages



Not Applicable


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.


Root Cause



This is an expected behavior.

Resolution



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”.

 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

87.5% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us