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.
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.
The pySourceWhen property for the otherwise condition was empty instead of being set to "Always".
- Confirm the pyDefault Data Transform rule for Rule-Declare-Pages is configured to set pySourceWhen to "Always".
- Create a new Data Page rule.
0% found this useful