{Dynamics CRM} Are Business Rules created as process records in CRM?

First all, let me give an answer to title of the post. Yes it is! For people who already know this, this is as far as you need to read this post :). However is my day-day project implementations, I come across many technical consultants who are not aware of the underlying implementation of Business Rules. And this post goes to you guys.

As i told, when you create a Business Rule, it basically gets created as a record in the process table in the CRM database. It’s basically a XAML that gets formed and gets rendered as client side script when the form executes. Well they say seeing is believing. So lets look at an example.

I have created a solution named “BusinessRulesTest” where only “account” entity is included and have created a Business Rule for the account. Please check for the screenshot below.


Now i export the solution and extract the solution. Strangely enough there is a Workflows folder although we do not have any workflows in the solution. We just have a business rule.


Now lets look what’s there inside the Workflows folder. There is this XAML file SetAccountNumberRule-DC90F0F8-6E87-E411-80D2-C4346BAC9FD4.xaml. When we open the file in a XML editor of our choice, we can clearly see the conditional code in place.



Hope you found this interesting!

About Debajit
I am a Dynamics CRM Most Valuable Professional (MVP) with 12 years of experience in Microsoft .NET Technologies and 9 years of dedicated experience in Microsoft Dynamics CRM. I have worked with companies like Microsoft, SanDisk, PwC, TMF Group and have extensive experience of implementing complex CRM solutions from both offshore and client side. Currently the face of XrmForYou.com with significant experience in delivering corporate training on Dynamics CRM and have already delivered multiple projects to client through XrmForYou.com Author of multiple tools on codeplex including the 'Role Based Views' and 'CRM-Sharepoint Metadata manager & Attachment Extractor' which are available for commercial use under XrmForYou.com For consulting/ training, drop me a note at info@xrmforyou.com or visit our website www.xrmforyou.com

2 Responses to {Dynamics CRM} Are Business Rules created as process records in CRM?

  1. Pingback: Setting Field value to NULL using Dynamics CRM 2013 Business Rules? Yes you can! | Debajit's Dynamic CRM Blog

  2. Pingback: Debajit's Dynamics CRM Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: