We have a requirement to show all local actions as modal dialogues. While local actions call "FinishAssignment" by default with actionname as the "Local Action" , modal dialogues call "SubmitModalFlowAction". The SubmitModalFlowAction does not lock or save the workobject since "BaseThreadContext" parameter is not passed to it. If we call FinishAssignment on the "submit" button of modal dialogue then the actionname passed to FinishAssignment is not the local action but the main flowaction due to which local action is not executed and the flow progresses.
Is there a way to pass the local action to FinishAssignment or pass BaseThreadContext to SubmitModalFlowAction
***Edited by Moderator: Pooja to add platform capability tag***