Support Article
Rule resolution issue with Property-set method
SA-8573
Summary
Property name ‘TestProperty” present in 2 classess
XX-XX-XXX-Data-Customer inherits from Data-Party
- TestProperty – No Max length restriction
- TestProperty- 5 Max length restriction
Error Messages
"More than 20 Characters for testing Purpose" is too long, maximum length allowed is 5
Steps to Reproduce
- Create TestProperty in XX-XX-XXX-Data-Customer (inherit from Data-Party)
- Create TestProperty in Data-Party
- Create activity to set value to TestProperty in XX-XX-XXX-Data-Customer
- Define TestPage (point to work class) , .pyWorkParty(Customer)( points to XX-XX-XXX-Data-Customer) in Pages & classes
- For property-set method give TestPage as Step page
- Give .pyWorkParty(Customer).TestProperty as target and "More than 20 Characters for testing Purpose" as source for property-set
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. and this will be fixed in future releases.
Resolution
This issue is resolved through the following local change: Issue is resolved by providing TestPage.pyWorkParty(Customer) as step page instead of TestPage for property-set method.
Published June 12, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.