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

Unable to progress stage using pxChangeStage

SA-46138

Summary



Unable to progress stage using pxChangeStage. The open assignments of the current stage are not deleted.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Add a button control in a section
  2. Configure OnClick event of the button to execute the below actions in sequence:
  • ​​​​​​​Run data transform to set the status of case
  • Run the pxChangeStage activity
  • Refresh the current harness


Root Cause



When pxChangeStage is called from a flow, a Commit is invoked by default. But in this use case, pxChangeStage is manually invoked from the OnClick actions, hence we need to explicitly invoke Commit.


​​​​​​​RESOLUTION Perform the following local-change:
  1. Configure a wrapper activity to invoke pxChangeStage with necessary parameters
  2. Invoke Commit
Alternatively, invoke the activity from a Utility shape or in a flow action post activity.



Published March 3, 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.

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