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)

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)
  • Verified answer
    UmesH@ Profile Picture
    810 on at
    RE: How to Create Custom Workflow

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

  • UmesH@ Profile Picture
    810 on at
    RE: How to Create Custom Workflow

    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.

  • UmesH@ Profile Picture
    810 on at
    RE: How to Create Custom Workflow

    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".

  • Sohaib Cheema Profile Picture
    47,889 User Group Leader on at
    RE: How to Create Custom Workflow

    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
    RE: How to Create Custom Workflow

    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
    47,889 User Group Leader on at
    RE: How to Create Custom Workflow

    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
    RE: How to Create Custom Workflow

    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.

  • Verified answer
    Sohaib Cheema Profile Picture
    47,889 User Group Leader on at
    RE: How to Create Custom Workflow

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

    WF DEV FILE PDF

  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at
    RE: How to Create Custom Workflow

    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

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans