Question

Where is pyDefault located in the Run Rule form?

Hi,

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***

Comments

Keep up to date on this post and subscribe to comments

October 18, 2019 - 1:34pm

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.