Posted: 11 Oct 2019 16:37 EDT Last activity: 18 Oct 2019 13:34 EDT
Where is pyDefault located in the Run Rule form?
When trying to test a decision table from the run rule form, I was trying to set a property value in the pyDefault data transform of the same class where the decision table is located. The value did not seem to apply to the test. Is that the correct pyDefault that will be used in the unit test?
***Edited by Moderator Marissa to move from Pega Academy to Pega Support Community; update platform capability tags***
I just tried it on my 8.2.2 system. My Decision Table is in a class called Cw-CWApp-Work-TestCase and I selected pyDefault when running the rule. It used the pyDefault Data Transform from my Cw-CWApp-Work-TestCase class. You can run Tracer and click the Reset Page option to see what Data Transform is getting picked up.