I have an outer section launched using "Create Work"
Within that section I have a button that launches a local action in a modal dialog and then finishes assignment
The issue is that the Finish Assignment "event" executes when the "Cancel" or Close(X) button is clicked. I only want to advance the case if the submit is clicked.
Is there a property that gets set when Submit (in the modal) is clicked that I can conditionally execute the Finish Assignment on the button event? The other option is to use my own buttons in the modal dialog but I think that may cause other issues related to why I am using a modal dialog . Any other ideas?
***Edited by Moderator: Pooja Gadige to add capability tag***
You can use your own buttons in the modal dialog. To achieve this, in lauch local action you can choose your own modal dialog template on save as of the pzstandardmodaltemplate and customize the submit button on adding the finish assignment action.