Support Portal ContactGet in touch

Business Rules in Dynamics CRM

   Words by CRM Consultancy

   on 15/04/2015 10:00:00

imageCRM 2015 can enforce business logic for a Company and it’s Workforce by building specific rules into the screens and forms – this is done using Business Rules and gives us the ability to put Validation or Automated Logic into a CRM Form without resorting to Development via Java Script.

In the simplest fashion, this can be done by setting the Requirement Level of a field between Required, Recommended or Optional when creating or modifying a field:

However the more recent versions CRM can support more complex rules that incorporate conditional logic – such that a field MAY be required depending on another field, or a field may be incorrect and therefore not applicable if it is below a certain value.

For example, we may say that the [Probability] field on the Opportunity is Required when the [Opportunity Type] is ‘New Business’, but is normally Optional for any other Opportunity Types.

We could add a Business Rule to the Opportunity Entity to reflect this business logic in CRM:

Click NEW here will then open the New Business Rule screen where we can configure our Rule that for Entity in CRM.

Each Rule is built up of two major points: the Condition, and the Action.


This first step here is to build the Condition that our Rule should be applied for, this essentially defines when the Rule should take affect:

This Condition is built from these 4 selections:

Field - The field that the Business Rule applies for.  This can be any field on the Entity selected for the Business Rule and forms the basis for the logic.

Operator - For the field we have selected, how will this be examined?  Are we checking that the Field is EQUAL to a certain value, GREATER THAN, LESS THAN and so on.

Type - this gives us a selection between Field and Value.  This is asking us whether we should compare our Field to either a fixed Value that we specify as part of the rule, or whether we compare our Field to another Field on the Entity. This example will look at using a fixed Value, but later in this guide we will look at building a rule which compares two different fields.

Value - If we have selected Value for the Condition Type, then this allows us to specify that Value.

Once done, clicking the rounded Tick icon will then add our Condition to the Rule - this will then minimize the condition to a simple statement in the Rule. (but this can be re-opened by clicking on the statement)


The next step is to determine what the rule should then do:

This allows us to select from one of these six major actions, that we can then apply to a specific field on the screen:

Just as with the Condition, we define our Action and then click the Tick to finish.

Activate the Rule

With the Condition and Action defined - we can then give our Rule a Name, Save, and then Activate.

Activating the Rule then enables our new logic throughout the CRM System.

In our case, making the Probability Field a Required Field for Opportunities tagged with the New Business Type.

And so we have a piece of conditional logic built into our CRM System to help reflect the Business Process.

Further Reading

Business Rules were introduced in CRM 2013 and expanded for CRM 2015, and so Microsoft have released further guides and training material which is useful for understanding this functionality in Dynamics CRM:

Create and Edit Business Rules

Calculate Multiple Fields using Business Rules

Troubleshooting Tips: Why isn’t my Business Rule working?

Business Rule or Javascript in Dynamics CRM – that is the question

Share this Article

Search Articles

Filter Articles

CRM Tech DocMan

Recent Articles

CRMCS Quick Start Guide: How To Produce a Microsoft Teams Live Event Dynamics 365 Marketing: Lead Scoring and Sales Acceptance Designing and Developing Microsoft Power Apps Portals Thank You for Attending CRMCS’ Webinar - Achieving B2B sales excellence with Dynamics 365 & Microsoft Teams Thank You for Attending Our Webinar - Achieving B2B sales excellence with Dynamics 365 & Microsoft Teams Webinar: Discover How CRMCS Have United Dynamics 365, SharePoint and Microsoft Teams To Create Sales Excellence Ignite your workflow by adding DocDrive365 to Office 365 The CRMCS guide to everything you need to know about integrating Teams with Dynamics 365 Saving Time By Keeping Documents In One Place TDE Database Encryption with On Premise Dynamics The Key to Successful Compliance in 2020 Part 2: Let’s get GDPR Compliant with Microsoft Power Automate Top 3 Essential Tips for Remote Working Dynamics 365 Marketing: Top 5 Best Features Dynamics Day in the Life - Puma Investments Can you use Teams to amplify collaboration in Dynamics? Part 1: Using a Scheduled Power Automate to Trigger Expiry Date Reminders The secrets of successful document collaboration in Dynamics CRMCS launches new AppSource approved DocDrive365 Dynamics Day in the Life - Moneypenny Release Management Add the App to Dynamics DocDrive365 Security: Day One - Getting Started with Dynamics to SharePoint Permissions Building a New Scheduled Process using Flow
  • "Paul has made a real difference to how my team of 24 people record and store valuable customer data and sales opportunities. Highly recommended."

    James, Operations Director

  • "Understanding your business allows us to advise when to implement aspects of CRM and, likewise, when not to."

    Paul McQuillan, Managing Director

  • "Dynamics 365 and CRMCS have made a real lasting difference to our business, allowing us to replace older systems that were holding back our performance."

    Grahame, Chief Operating Officer

  • "James worked well with us to help connect CRM with Outlook and relate how this might benefit our team using CRM for Property Care."

    Natalie, Property Care Supervisor

  • "Matt was really good with helping us run User Testing on the new Compliance Module of our CRM System."

    Tom, Compliance Administrator

Prefer to go old-school?

Write to us using the below addresses.

Head Office
CRM Consultancy
61 Oxford Street
M1 6EQ

London Office
CRM Consultancy London
Grosvenor Avenue

Content © CRM Consultancy.