Close work object on click of submit button in a flow action.
We have defined a perform harness with a flow action and using the default flow action button to submit the work object. On clicking of submit, we need to close the entire work object rather than the perform harness.
The default perform harness allows you to close the flow action only and then shows the confirm harness. Users, have to explicitly close the entire screen by clicking on close button to close the work object. Otherwise the work object remains open until the user session ends.
Can we achieve closing the work object on a single click of OOTB Submit button in the flow action?