Wednesday, August 22, 2018

Microsoft Dynamics 365 Workflows: Keeping Track of Your Processes

This post on CRMUG inspired me to document how we manage Workflow documention in our organization. This is still a manual process and needs to be a priority to keep everything up to date. When first starting the documentation process, it can take a good amount of time to build up the documentation for your existing processes. Then you can plan documentation up-keep into your release processes.

Keep in mind, there is also a description field and notes capabilities on the Process entity. So it is wise to keep at least high-level details of your processes here. Then you can view everything right in CRM without needing too must supplemental documentation.

Advanced Find
We start by creating an Advanced Find of all Activated Processes. You can edit the columns of this view to add the trigger information, primary entity and scope. This is a great start for your documentation. It allows you to review the details and sort/filter to look for issues. For example, you could look for all processes that run on create of the same entity.

Export this find to keep outside of CRM. You can add additional columns to your Excel version to track additional details like parent workflows that call the child workflows or more description information.

On each release, use your saved view for workflows modified since your last review.

Steps to build your Advanced Find:
  1. Go to Advanced Find
  2. Navigate to Look For: Processes, Use Saved View: Activated Processes
  3. Click on “Edit Columns” 
  4. Click “Add Columns”
  5. Select additional columns and click OK. Suggested columns: Primary entity, Business Process Type, Delete Job on Completion, Description (if you are capturing when process is created), Is Child Process, Run as On Demand, Run as User, Scope, Trigger on Create, Trigger on Delete, Trigger on Update Attribute list (lists out all the attributes where the workflow is watching for modifications)
  6. Click “Results”
  7. Export list and review in Excel

Flow Charts
In addition to the Excel documentation, we keep more detailed Flow Charts for complex workflows. These are built in Visio to show all the logic in these workflows. In a perfect world, this documentation would be written prior to the workflow. This gives you a tool for the business to approve and also tracking for your documentation. 

Auditing
Another internal CRM feature that can assist with processes is Auditing. You can turn on Auditing for the process entity and any fields within it just like any other entity. This gives you a way to review recent changes to the process. We turn this on for scope, owner, activation status, etc. This allows us to check when was this workflow turned on, did it start running as someone else and such.

That's it! What other tips do you have for keeping track of your processes?

Tuesday, August 21, 2018

DMV Upcoming Events

If you were not at the Q3 Regional Chapter Meeting for DC, Reston, VA and Richmond, VA chapters then you really missed out! This was a great event with amazing presenters and even a wine tasting. Check out this blog for all the details and reference information.

Now that you know the awesome our Microsoft Dynamics 365 community is, you can get registered for our upcoming events!

D365 Saturday - This event will feature a hackathon on Friday and a full-day of content on Saturday. The agenda is jam packed with great speakers on multiple tracks of learning.

Summit Chapter Party in Phoenix - For CRMUG Summit attendees from the DMV we are having a chapter party. Join us after the sessions end for the day for dinner and drinks. Cobalt is sponsoring the event and continues to be a big supporter of our chapter! (THANK YOU!) Keep an eye on the CRMUGDC Chapter Community for details!

Q4 Chapter Meeting - Back to our regularly scheduled programming, we will have a meeting on November 14th. This will be a great event to share your takeaways from CRMUG Summit and network with your peers.

DC Dynamics 365 Devs Meetup - Also keep an eye on this meetup for their monthly events on a variety of developer topics.

Lots of events in the DC area to keep you busy and learning. Save the date today!