Tuesday, June 13, 2017

Code for Resubmit workflow after rejection in Ax 2012

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.

 Resubmit workflow after rejection in Ax 2012




































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.