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.
Technical Tutorials x++,tips on issues or troubleshooting On Ax ERP ,Microsoft Dynamics 365,Ax 2012,Microsoft , U.S.,Business Software solution.