Last activity: 27 Nov 2018 9:26 EST
How can we write assertion based on parameters
Hello PDN Community Members,
I have a requirement to write a PegaUnit case based on the parameter value.
For Ex, I have Activity A calls sub activity B which has some logic and sets the status in a OUT parameter. Activity A has logic to check the OUT parameter value.
There is no option in Pega Unit assertions to validate params. As per article below activity logic should be temporarily modified to copy out variable into a page available to Clipboard.
This would be a cumbersome task each time to update the rule with temporary logic especially when we have multiple activities like this.
Any better way or thoughts to deal this scenario ?