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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to Create Custom Workflow

(0) ShareShare
ReportReport
Posted on by 810

Hi Guys,

I want to Create My Custom Workflow.is any one have any Document How to Create Workflow From Table to Workflow i Want to Create Custom. I don't want to Use any Inbuilt Class,Tables, enums etc.. is any one have step by step guidance or any references.

Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi.

    There are a lot of resources on the web for creating custom workflows as well as examples in the standard microsoft manuals.

    This MSDN article steps you through the process very nicely:

    msdn.microsoft.com/.../cc641259.aspx

  • Verified answer
    Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    In addition to MSDN, following file has been helpful for startup of WF Development

    WF DEV FILE PDF

  • UmesH@ Profile Picture
    810 on at

    Hi Sohaib Cheema,

    I Have Created Work Flow and set Condition to Result = FAIL and Status = Submited.

    but this is not working.

    This my List Page

    Form.JPG

    This is My Form.

    Form.JPG

    This My Work Flow and Condition.

    Flow2.JPG

    All I Have done in Custom List Page and Custom Form,table.

    can you Please tell Me Where i Have to Change.

    Thanks.

  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    What you are trying to do?

    are you trying to put condition that under certain condition it should go for approval/submit?

  • UmesH@ Profile Picture
    810 on at

    When  i Create entry by Clicking on Entry Button then By Filling that Details Check .if Resul= FAIL and Status= SUBMITED found then i want to use Workflow.

  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    There are two points

    1. When a document should be submitted

      e.g. when document is in draft state it should be submitted to get approval. Or if a document need a change, after approval, it can go for resubmission.

      This is done by overriding canSubmitToWorkflow() method on table level

    2. When it should go under a certain Approval

      This is taken into consideration when a certain approval step is optional. e.g. if your leave request has to be approved by your manager and there is condition that if leave days are more than 30, it should also go to Division Manager of company. In this case the second step of approval is conditional that is Division Manager will approve only in case, if you leave application days are more than 30.

      From your provided screenshot, I can see you are attempting #2 scenario. What you want to do, I don’t know from your previous description, as provided details are not understandable (to me)

       

      Kindly explain your issue in better way to get an appropriate answer

       

  • UmesH@ Profile Picture
    810 on at

    Thanks for Your Quick Reply.

    I Have done in Table Method then I m getting this Error

    "No tree node for \Workflow\Workflow Types\StudentStatusApprova".

  • UmesH@ Profile Picture
    810 on at

    I want to Create Custom Workflow i don't want to use any inbuilt class,tables,Listpage.Enums or etc... this is just i took Example for Using it.

  • Verified answer
    UmesH@ Profile Picture
    810 on at

    Thanks for Your supporting Sohaib. i have done this.it's working Good.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans