I am sharing here code Code for Resubmit workflow after rejection in Ax 2012. You need to write code in resubmit action manager class i.e. WFApprovalWFResubmitActionMgr.
Code snippets is as below.
At the end of the code you need to call _args.caller().updateWorkflowControls(); to update workflow control.
In main method you need to call this method to work resubmitting functionality of workflow.
Code snippets is as below.
At the end of the code you need to call _args.caller().updateWorkflowControls(); to update workflow control.
In main method you need to call this method to work resubmitting functionality of workflow.