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

Data Page when rule error



When attempting to load a Data Page, an error message is presented stating that none of the when condition evaluates to true.

A trace of the issue shows that the first when condition is evaluated to false, but the otherwise condition is not evaluated.

Error Messages

Unable to load declare page D_Customers. None of the when condition evaluates to true.

Steps to Reproduce

  1. Create a Data Page rule with two data sources, one of which has a when rule and the other is simply an otherwise condition.
  2. Run the process to load the Data Page.

Root Cause

The pySourceWhen property for the otherwise condition was empty instead of being set to "Always".


  1. Confirm the pyDefault Data Transform rule for Rule-Declare-Pages is configured to set pySourceWhen to "Always".
  2. ​Create a new Data Page rule.


Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% 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