Question

2
Replies
87
Views
GANAR Member since 2008 2 posts
PEGA
Posted: 3 years ago
Last activity: 3 years ago
Closed

unit test when rules tied to a declare expression

We have a lot of Delcare expressions tied to a When rule, both the DE and When rule is created and maintained by the business. What is the best way to unit test this. Tried testing it by copying a test page and also a data transform and they return null bcos the DE fires which fires a declare page and since the input etc .. is not there, the data is not present and the result of the expression is NULL. Is there a switch to turn off firing declaratives so an expression like

Value of A/B > C where A and B have DEs tied to it can be supressed and the values in the transform or the page used.

Please share your thoughts, we are using version 7.2.2

***Edited by Moderator Marissa to update categories***

Case Management
Moderation Team has archived post
Share this page LinkedIn