While editing existing workflow or creating new workflows in AX 2012 R3 I am facing the below-mentioned error. The error possibly came after modification in sysworkflow classes.

“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” on creating the workflow.”

To resolve this error you need to perform this solution.

  1. Stop AOS service.
  2. Rename XppIL folder to XppIL_old from the following location.
    <Drive letter>:\Program Files\Microsoft Dynamics AX\60\Server\<Instance Name>\bin
  3. Start AOS service.
  4. Do full CIL compile.

Hopefully this will resolve your issue