web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Answered

Business Rule Scope: Entity vs All Forms

(0) ShareShare
ReportReport
Posted on by 1,799

Hi, 

When creating a Business rule you have the option to set the scope. What is the difference between Entity and All Forms? 

*This post is locked for comments

I have the same question (1)
  • Verified answer
    Rajkumar Rajaraman Profile Picture
    on at

    JD,

    If business rule is created with scope as “Entity” then the business rules will execute server side. This means that you do not need the CRM form for the rules to be executed. It can also be executed when you do updates to a record programmatically similar to the concept of Workflows and Plugins

    Refer the following blog:

    inogic.com/.../business-rule-updates-in-dynamics-crm-2015

    Hope this helps.

    Regards,

    R.Rajkumar

    "Please mark my answer as verified if you found it helpful"

  • Rajkumar Rajaraman Profile Picture
    on at

    Refer this blog also:

    adisys.wordpress.com/.../crm2015businessrules

  • JDMCRM Profile Picture
    1,799 on at

    Thanks for the information. It seems like entity is probably what I'm after then.

    When faced with the two options, why would you not want it to execute server side? 

  • JDMCRM Profile Picture
    1,799 on at

    I guess if someone wanted to localise the changes to a single client?

  • Mahendar Pal Profile Picture
    45,095 on at

    Hello,

    It depends on the requirement actually, when you just want to run your business rule at client side only, you won't select entity.

    A simple example of hiding fields, you want to when user will open records based on some value specific field should be hidden using business rule.

    Hope it will help.

  • Rajkumar Rajaraman Profile Picture
    on at

    Walkthrough the following blog. It explains the limitations of Business Rule

    community.dynamics.com/.../crm-2013-business-rule-workings-limitations-and-exam-notes

  • JDMCRM Profile Picture
    1,799 on at

    Thanks for the info, I have one more question about Client vs Server side not being technical myself.

    If 'All Forms' only executes the Business Rule Client side, does that mean the Business Rule is carried out for the one client who creates the business rule, or all clients?

    I'm assuming client side means the Business Rule applies to the client that created it, and Server side executes the Business Rule for all clients?

    Is that correct?

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hello,

    Here Client means the browser, if your business rules are not published using Entity, it will only run client side (browser), it does not means to specific user.

    So for example I am changing something in entity form field associated with the business rule, it will fire . But if I am updating entity data using service call/SDK which do changes in server, business rule won't fire.

    But in case of server side business rule, it will fire in above case.

    Hope it will help.

  • JDMCRM Profile Picture
    1,799 on at

    That's great thanks.

  • Community Member Profile Picture
    on at

    hi On account i wrote  a js cript on click of button to set a field value.On setting i made a BR to lock the field here scope is ACCOUNT as u said the field changing by JS so to excecute BR scope should be ENTITY. the logic has excuted though here account is my scope why?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans