Support Article
Data Page when rule error
SA-18970
Summary
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
- Create a Data Page rule with two data sources, one of which has a when rule and the other is simply an otherwise condition.
- 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".
Resolution
- Confirm the pyDefault Data Transform rule for Rule-Declare-Pages is configured to set pySourceWhen to "Always".
- Create a new Data Page rule.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.