AX 2012 Workflow

Dear All,

I went to the walkthrough given by microsoft for ax 2012 workflow.

I made Query , workflow category, workflow type … and selected Customer as module.

When i go to accounts receivable> setup> accounts receivable workflows

and create a new workflow and select my created workflow type,I get following error:

An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue

In event viewer:

Workflow threw an exception for the following reason: Class MyWorkflowTypeDocument cannot be instantiated.

Refered to MyWorkflowTypeDocument in classes, its auto-generated code created when I created the workflow type.

Urgent help required…

Try, Go to AOT and right click > Ful CIL Genereation x++

after it completes… close ax2012 and restart…

Give it a try and post the results

Thank you …Albloshi

Its working…

Thank you once again for your valuable help.

Hi, …Albloshi

Is it mandatory to do Increamenatl CIL in workflow.