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 :
Finance | Project Operations, Human Resources, ...
Answered

How to Add Custom workflow to Custom form in D365 Finance and Operation ERP

(0) ShareShare
ReportReport
Posted on by

Hello Guys,

I have created a custom form and and a custom workflow , now i want to add this custom workflow to the custom form. what are the steps i need to follow in order to achieve it. I have created custom workflow using this  reference (devmusings.blog/.../) . Like in built workflow in D365 , how can i tag and active my custom workflow to this form.

My requirement for the flow is mentioned below.

1:On the form or on the standard toolbar menu there should be on one button(Send for approval) which will send form for the approval.

2: On click event a email should go to the approver with the link of this form so that he can open and chose the respected action (Approve/reject/hold)

3: On behalf of the approver action an email notification should send to the user.

4: Form status should be changed as per the current state. (Sent for approval/ Rejected/on hold/ Approved)

Please refer any document or video similar to this operation.

I have the same question (0)
  • Blue Wang Profile Picture
    on at

    Hi Sachin Gupta ,

    Did you follow all the steps in the blog? last step.

    devmusings.blog/.../

    community.dynamics.com/.../create-custom-workflow-in-d365-dynamics-365

  • Blue Wang Profile Picture
    on at

    Hi Sachin Gupta ,

    Now, whether the workflow has been activated in your custom form and the workflow button is displayed?

  • Community Member Profile Picture
    on at

    Hello Blue,

    Hello Blue , yes exactly same advised in blog.https://devmusings.blog/2018/03/18/custom-workflows-in-microsoft-dynamics-365-for-operations/

    Now i can see the custom workflow in D365 UI Project Module. i have opened my custom workflow in workflow editor. As advised in last step of blog "In the workflow editor, we add the workflow approval to the workflow" but in my workflow i cannot see the workflow approval only i can see the flow control. please find the screen shot for your reference. As i am not able to link the start and end point to activate the workflow.

     Error14.PNG

    Please advice.

  • Verified answer
    Community Member Profile Picture
    on at

    did you perform this step?

    pastedimage1602491341603v1.png

  • Verified answer
    Blue Wang Profile Picture
    on at

    If you are sure that you followed all the steps, try restart service.

  • Community Member Profile Picture
    on at

    pastedimage1602491940906v1.png

    you are showing me the screenshot of enable the workflow on form and i am talking about adding approval to type.

    Please recheck once all of your steps.

  • Community Member Profile Picture
    on at

    Hello Akhilesh , I am sorry Akhilesh , by mistake i had attached wrong screen shot. i have corrected it.

    yes i have done that .Please find the screen shot below.

    Error16.PNG

    Error17.PNG

  • Community Member Profile Picture
    on at

    I am sorry Akhilesh , by mistake i had attached wrong screen shot. i have corrected it.

  • Verified answer
    Community Member Profile Picture
    on at

    Hello Guys,  this issue has been resolved. I have done below steps. i am not sure which one was effective to solve this issue.

    1. Removed and adding approval type again and cross check all the names references are correct

    2.Restart IIS and restart services.

    3.Use incognito mode and IE , now its working for both.

  • Community Member Profile Picture
    on at

    Hello Guys , referencing to the same process now my workflow is active and i can see workflow button is appearing in the menu bar. but after creating a new record when i am clicking on workflow it shows  cancel menu item instead of workflow. please advise where i made mistake in the process and need to check. Please find the screen shot for your reference.  

    Thanks Error18.PNG

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans