web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Workflow Error: Ax2012 : Failed to find execution event handler class for automated task

(0) ShareShare
ReportReport
Posted on by 3,248

Hi guys 

I am developing a workflow on ax2012, when i submit my workflow, it works fine, and workflow is submitted to workflow engine and status is changed to submitted, later the workflow does not proceed further and i checked the workflow history it shows me below error: 

 Stopped (error): X++ Exception: Failed to find execution event handler class for automated task "AXWCustCarApprovalEventHandler" (it is my class name for approval event)

 at SysWorkflowHelper-createInstance

SysWorkflowWorkItem-invokeWorkItemEventHandler

SysWorkflowWorkItem-raiseWorkItemEvent

SysWorkflowWorkItem-createWorkItems

SysWorkflow-save

SysWorkflowQueue-resume

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Pradeep,

    Did you figure out what was causing this error? I'm having exactly the same problem with an approval workflow I have developed and I can't find an answer anywhere.

    Regards,

    David

  • mongro Profile Picture
    25 on at

    Hello,

    I had the same error.

    The reason was that creator automatically assigned my class to WorkItemCreatedEventHandler property on Workflow Approval, but I didn't have 'create' method in my class.

    First solution - clearing WorkItemCreatedEventHandler property.

    Second solution - class modification:

    1 adding WorkflowWorkItemsCreatedEventHandler to implements section in ClassDeclaration

    2 adding 'created' method to class

    public void created(WorkflowWorkItemsEventArgs _workflowWorkItemsEventArgs)

    {

       return;

    }

    Monika

  • Community Member Profile Picture
    on at

    i m getting this error when user rejects the workflow.

  • Suggested answer
    Community Member Profile Picture
    on at

    i got it resolved just by generating incremental CIL.

  • Suggested answer
    MuthuAX Profile Picture
    5 on at

    I had same problem and resolved by above steps given by Monika

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans