Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2020
Read More about New TechTalks for 2020
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 2 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
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.
Hi Sachin Gupta ,
Did you follow all the steps in the blog? last step.
Now, whether the workflow has been activated in your custom form and the workflow button is displayed？
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.
did you perform this step?
If you are sure that you followed all the steps, try restart service.
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.
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.
I am sorry Akhilesh , by mistake i had attached wrong screen shot. i have corrected it.
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.
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.
Are you the approver of this custom workflow?
Once you submit the workflow it will take few mins to execute. Once workflow is submitted after that approver will start seeing the approve or reject button.
Have you debugged your code?
Place a breakpoint at the canSubmitToWorkflow() method.
Hello Akhilesh, Below is the user details:
: Owner - Me
:Notification : Me and one other user
:Assignments : Other User not me
Still i can only see the same ''cancel' under workflow
Can any one advise anything on this issue. Workflow tab Still shows "Cancel" . Please find the screen shots below
2.After clicking on cancel.
What is the state of the workflow? Is it in submitted stage?
Cancel menu item should be pointing to WorkflowCancelManager class. You can check here for an example of the same.
Business Applications communities