Business Rules in Dynamics 365 CRM: How Do They Compare to Dynamics Workflows and Microsoft Flow?

By Jon Immel | September 6, 2019

Business rules in dynamics 365 crm: how do they compare to dynamics workflows and microsoft flow?

With numerous options to implement business logic in Microsoft Dynamics for Customer Engagement (CRM), Business rules are an oft-overlooked component with real-time capabilities that can be very helpful. While Dynamics 365 Workflows and Microsoft Flow each have their own uses in CRM, Business Rules’ in Dynamics 365 for Customer Engagement are easy to understand and can offer user-friendly features that limit the custom development that used to be required to do this functionality.

Aside from Business Rules, there are two native processes compared to Dynamics 365 (D365) Workflows, and Microsoft Flow (Flow)—each has its use. Enough though Business Rules can be very effective in CRM, their functionality is limited. It is important to clarify how each of these tools can be used in CRM.

D365 Workflows

Workflows built inside of CRM can be very helpful when the process happens exclusively inside of CRM. The option to choose between real-time and background for the workflows enables you to choose between functionality and system performance, and, unlike Business Rules, can be activated off nearly any event in CRM. While it is helpful to see the results of a process in real-time, it can also degrade the speed of CRM, so Business Rules can be used in place of some real-time workflows to help with performance.

Additionally, email notifications cannot be sent from CRM through Business Rules, so workflows can be used to send internal emails. For example, if an opportunity has not received activity in a month, then a D365 Workflow may send an email to the associated sales rep in order to check in with that contact This email can also include a dynamic hyperlink to the opportunity record, which streamlines the process for the sales rep receiving the notifications triggered by the workflow.

Microsoft Flow

Flow can also be triggered by D365 events; however, Flow is capable of much more than D365 Workflows.  Flow is an external tool that connects Dynamics to SharePoint, OneNote, and other Microsoft services in addition to third-party resources including Gmail, Google Drive, and Slack. This functionality enables Flow to create actions and connect applications in ways the Business Rules and D365 Workflows cannot do. Keep in mind that, much like real-time workflows, this can slow down the system as well.

There are numerous other tasks that Flow can do, including record deletion and creation functions, push and text notifications, and creating workflows that span multiple applications. Between D365 workflows and Flow, there are seemingly endless processes that can be created across CRM and between CRM and other applications, but there is a performance-friendly option to implement business logic in CRM in Business Rules.

Business Rules

Business rules often act in real-time and have a variety of functions. Each of the functions will be explored below to explain how they can be used to improve CRM for your business. The below screenshot shows the interface for creating business rules.

 Lock/Unlock

The Lock/Unlock Business Rule enables the user to lock or unlock a field dependent on whether another field on the form contains certain data. If the system requires the user to enter Est. Close Date data before Actual Close Date data you may want to use a Business Rule to lock the latter field based on one whether the former contains data, as seen above.

Set Default Value

Setting the default value will place a value in a field based on meeting the condition in the Business Rule. In the recommendation below, there are two Set Default Value Business Rules. A value can be a formula, which can add or subtract from the original field, add days (if it is a date field), or it can set an arbitrary value or the value of another field.

Set Visibility

Setting the visibility is a common function that I like to use with business rules. It allows you to streamline the data that is seen by a user when on a form. In one project I worked on recently, I used the show visibility rule based on whether a box was checked yes or no. If yes was selected, then the other fields would show, but if no was selected, they would stay hidden. This rule and Lock/Unlock can be used in place of each other depending on what you want users to see when on a form.

Recommendation

The recommendation tool does not fill in, lock, or even require another action; however, it can be useful when entering data into CRM, among other uses. On an Opportunity form, when a salesperson enters data in the Est. Revenue field, which is not a required field, there may be a recommendation to put data in the Estimated Close Date and Probability, which can create a weighted pipeline as mentioned above, and allow sales managers to keep track of opportunities with greater detail. Below, you can see that when the Est. Revenue field contains data, then two recommendations to set the field value are given for each the Est. Close Date field and the Probability field.

Other business rules include showing an error message, setting a field value, and setting a field as business required. As detailed above, Business Rules have plenty of potential for business use. Business rules are at their best when you need quick actions done on a form, which they do very well. Business Rules can provide quick, code-less business logic to maintain system performance and are great tools to guide end-users in CRM.

If you have any questions about Dynamics 365 for Customer Engagement reach out to the team at Stoneridge Software.

Related Posts

Recommended Reading:

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

Read the Article
4.28.22 Dynamics GP

Uncommonly Used Features – Integrate Purchasing and Payables to Fixed Assets in Dynamics GP

Being able to integrate Purchasing and Payables to Fixed Assets in Dynamics GP will help you create visibility for your […]

Read the Article

New Features in the Dynamics 365 Business Central 2022 Wave 1 Release – Ease-of-Use Features

  There are many new features in the Dynamics 365 Business Central 2022 Wave 1 Release to get excited about! […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X