Support Article
Getting InvalidReferenceException after upgrading to Pega 7.2.2
SA-36930
Summary
Getting below exeception while running a flow action with Pega 7.2.2.
Error Messages
com.pega.pegarules.pub.clipboard.InvalidReferenceException: The reference pyWorkPage.ProductLines is not valid. Reason: Cannot modify value of Reference Property without first linking it to another property using Property-Ref
Steps to Reproduce
1. Create auto-populate property of type Page (for example: CustReqProp). This points to a DataPage.
2. Create a new property (for example: CompanyName) of type text with reference property option checked in advanced tab of property.
3. Now from an activity set some values to CompanyName and Name.
4. Now from another activity using Property-Ref method try to modify the CompanyName property.
5. Run the activity.
Root Cause
A defect in Pegasystems’ code or rules.
This issue got introduced in Pega 7.2.2.
Modified setAsReference API in ClipboardProperty to gracefully handle Autopopulate scenarios.
Resolution
Apply HFix-33965.
Published May 9, 2017 - 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.