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
- Create a screen flow using the TabbedScreenFlow7 harness.
- Navigate to the screen flow during runtime.
- 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:
- Save As the pyAddCancel When rule to the application ruleset
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.