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

Error occurs on clicking Save on Screen Flow

SA-61620

Summary



When using the standard Screen flow harness, error occurs on clicking Save on any screen of the Screen flow.


Error Messages



Error in logs:

Exception caught while evaluating When
com.pega.pegarules.pub.clipboard.InvalidReferenceException: The reference * is not valid.  Reason: invalid property name: '*'


Section 'pyCaseActionAreaButtons' execution error on page 'pyWorkPage' of  class 'ABC'.
com.pega.pegarules.pub.PRRuntimeException: Error evaluating visible when 'wxpyAddCancel'.



Steps to Reproduce

  1. Create a screen flow using the TabbedScreenFlow7 harness.
  2. Navigate to the screen flow during runtime.
  3. Click Save after making some changes.


Root Cause



A defect in Pegasystems’ code or rules.

Issue with the When condition in the out-of-the-box pyAddCancel When rule. The condition now is .pxFlow(param.flowName).pyFlowParameters.bAddCancel. However, in some scenarios, the flowName parameter is deleted before the pyAddCancel When rule is run.



Resolution



Perform the following local-change:
  1. Save As the pyAddCancel When rule to the application ruleset
  2. Replace .pxFlow(param.flowName).pyFlowParameters.bAddCancel with .pxFlow(newAssignPage.pxFlowName).pyFlowParameters.bAddCancel in the When condition as newAssignPage.pxFlowName always has a value.

Published August 24, 2018 - 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