How to wrap and test WHEN rules dynamically
We are on Pega 7.2.2
Pega unit test doesnt support a when rule, so we are wrapping the when rule with an activity.
Currently, we call an activity which calls the WHEN rule (could be other decision category rule types)
Here we hard code the actual rule name and set up the properties and parameters that are needed for WHEN rule evaluation
Question
How do we dynamically investigate and prompt the properties that are required to execute the when rule
similar to inputting the parameters in activity form, inline with pega unit.