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

Declare expression pyStepPageReference shows error during Save



The Declare Expression pyStepPageReference produces an error message during an attempt to save the rule.

Error Messages

"The expression ( right hand side ) :
 Property @baseclass.pxGetStepPageReference() is undefined.
 Invalid expression or reference: error Final Expression .pxGetStepPageReference() (ClipboardPropertyCollection) can't be converted to the desired type (text)

Steps to Reproduce

  1. Open the Declare Expression pyStepPageReference.
  2. Edit the rule and click Save.

Root Cause

In Pega 7.1.9 and Pega 7.2, the Expression builder was modified, in such a way that the Declare Expression pyStepPageReference cannot reference the Utility Function @pxGetStepPageReference().


Instead of using ".pxGetStepPageReference()", use "@Utilities.pxGetStepPageReference()". 

​Note: This issue is corrected in Pega 7.2.1.


Suggest Edit

Published August 17, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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