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
- Add a button control in a section
- 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:
- Configure a wrapper activity to invoke pxChangeStage with necessary parameters
- Invoke Commit
Published March 3, 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.