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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Call Class method after workflow execution

(0) ShareShare
ReportReport
Posted on by 61

How to call a method of any class after workflow execution. Please help.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at
    RE: Call Class method after workflow execution

    Hi Ayaz. Can you explain what you are trying to do? Normally you can use the WorkflowEventHandlers to accomplish this.

    msdn.microsoft.com/.../cc606215.aspx

  • Ayaz Sayz Profile Picture
    61 on at
    RE: Call Class method after workflow execution

    Hi Jonathan i am new in Ax . i got a task to make a custom work flow and after work flow execution call a method abc() of class 'xy' . Mean when i click on workflow submit button it calls abc() method of 'xy' class. Hope it clear now.

  • Verified answer
    Jonathan  Halland Profile Picture
    11,310 on at
    RE: Call Class method after workflow execution

    Hi. Once again, depending on your requirements, you can either code this into the main method of the class behind your "Submit" menu-item or put it into the "started" event handler for your workflow or approval.

  • Suggested answer
    Ayaz Sayz Profile Picture
    61 on at
    RE: Call Class method after workflow execution

    thanks Jonathan. Got it :) my problem resolve .

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans