Support Article
Assignments are not getting deleted though the case is resolved
SA-39052
Summary
Users observe that after canceling a flow running in a modal window, and then re-entering the flow and submitting, an extra assignment is being left behind.
Error Messages
Not Applicable
Steps to Reproduce
- Launch a work object.
- Click on a link to open a flow on the current work page.
- Click on a button configured as a modal button for the action cancel.
- Observe the launched flow still exists on the work page.
Root Cause
An issue in the custom application code or rules. The modal button (Cancel) is designed to clean up after launching a flow action but it doesn't properly clean up a flow launched in a modal window.
Resolution
Perform the following local-change:
Update the cancel button for your ModalTemplate to be configured as follows:
- The full text in the OnClick is : "pega.u.d.launchFlow.handleModalCancel()"
Published June 17, 2017 - 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.