Posted: 31 Aug 2017 12:59 EDT Last activity: 5 Sep 2017 15:20 EDT
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***
To prevent forward-chaining declaratives from firing at end of each activity step / sub-step of an activity, while still tracking property changes so that declaratives can 'fire later', go to the security tab and change the activity type from 'activity' to 'onchange'. Please try this and let me know if it meets your goals.
Posted: 4 years ago
Posted: 5 Sep 2017 15:20 EDT
Rajesh Ganapathy (GANAR)
Principal Enterprise Architect