Monday, November 23, 2015

Error while creating custom workflow

Problem: One of my colleague recently created a custom workflow (which is not shipped out of the box). he followed the step by step process to create the workflow. when he tries to run the workflow configuration he got the 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.

Resolution: ITs a simple resolution, just generate the CIL it will resolve the issue.



The above code requires the CIL for the classes we created.

While you creating the workflow wizard it will warn you for CIL compilation. As you have noticed you will not run into this issue.
 

No comments:

Post a Comment