Banner

Business Rules with Microsoft Dynamics CRM 2013

Back to Blog Listing


A great new feature in Microsoft Dynamics CRM 2013 is support for configurable business rules. This new feature allows business specific logic checks to be added to Dynamics CRM forms without the need for Javascript or other custom programming.

Defining a Business Rule

From the form designer a new Business Rule button is available on the toolbar. From here the Business Rules for the form can be defined and managed.

CRM 2013 ribbon bar

From the Business Rule Explorer we can define a new Business Rule to apply to form.

CRM 2013 define a business rule

After naming the rule we can define the Condition, Action and Description for the rule.

Condition: Each rule has a Condition set, which defines the logic that will result in the rule being applied. For example If Contact Type Equals 'Member'. Multiple conditions can also be applied to create more complex logic.

We can then define what Action should be taken when the Condition is met.

actions for business rules

Business rule condition

Action: Dynamics CRM supports a range of different action types to make it easy to control how the form interface will behave e.g. Set Visibility on an attribute, or define whether a field is mandatory.

Multiple Actions can also be defined as illustrated below:

business rule actions

Once defined the business rule can be activated in a similar manner to Workflows in previous versions of Dynamics CRM.

Activate business rule

We can now see the form as it would be displayed for the account "C2 Software" and the business rule will be applied:

Business rule in action

Conclusion

Business rules are a powerful new addition to Dynamics CRM, reducing development and maintenance costs. It will greatly reduce the amount of custom code written for Dynamics CRM and will make future upgrades a simpler task to perform. The feature is available as standard in Microsoft Dynamics CRM 2013.


14 Dec 2013

About the Author

James CTwo is our blogging alter ego for the Dynamics CRM and Web experts here at C2. We have a passion for anything CRM, Web Design or Social Media. We love writing about it! Find us on YouTube & Twitter.

comments powered by Disqus

Our White Papers

"Discover the content that matters to you on business transformation. Explore how you can drive customer engagement, empower your team, optimise your businesses and revolutionise your products with the next digital revolution. For more information visit our white paper library."

Library

C2 Newsletter

Our newsletter is sent on a quarterly basis, offering detailed insights into all aspects of business transformation with Microsoft cloud technologies. We also promote upcoming events and special offers throughout the year. Sign up to get involved today.

Dynamics 365 Office 365 Power BI Silver Partner