Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us