"Cancel this work" bulk action fails
SummaryWhen a user tries to perform the "Cancel this work" action via bulk processing, it fails with a 'Work Object Not Found' error.
Error MessagesWork Object Not Found
Steps to Reproduce
- Open the Manager portal.
- Click on Bulk Actions.
- Select Service Cases to cancel.
- Select the 'Cancel this work' drop down action.
Root CauseThe error occurred because the flow action was configured to use auto submit. The doSubmit() method in the auto submit script called FinishAssignment; whereas, the pyModalTemplateBulkProcessing modal performs additional actions.
ResolutionPerform the following local-change: exclude the flow action from bulk processing or modify the auto submit.
Published January 20, 2017 - Updated January 22, 2017