Workflow error in ax 2012

Hi,

I have created a workflow based on the requirement. But while creating by workflow temp-let an unwanted is showing.

please help me out.

the error is ,"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."

I am attaching the photos . please give a solution.

after this if we click on create workflow the above mention error is showing…please help me…

1616.wrkflow2.png

The errors says that you should see the event log on the AOS but you haven’t mentioned what you found there.

Hi,

In the event log of the workflow its showing the error that My document class which I created cannot be Instantiated…

That’s a much more specific error. You say that’s worth following what the system tells you to check.

You have to fix your class. Unfortunately I don’t know anything about it, so I can’t tell you what you did wrong. Maybe the custructor throws an exception, maybe it requires parameters (that the system can’t provide), maybe something else. If you don’t see what’s wrong, debug your code.