Assignments are not getting deleted though the case is resolved
SummaryUsers 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 MessagesNot 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 CauseAn 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.
ResolutionPerform 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 7, 2017 - Updated June 17, 2017