Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Business Rule does not apply to all users

Posted on by Microsoft Employee

Hi,

I've created a business rule to lock certain fields after an entity is saved/created ('Created On' contains data). It works for me when I test it, but not for other users. I've tried different scopes and I've also checked that the standard Security Role is set to 'Read' for the Process under the Customization tab. Users who have this Security Role still do not see the Business Rule firing.

Any help would be greatly appreciated.

*This post is locked for comments

  • satya026 Profile Picture
    satya026 15 on at
    RE: Business Rule does not apply to all users

    Hi,

    I was reading your post about a similar issue I am facing. The business rule is not working for some users. But your solution was to apply the business rule to all users. Can you please help me to understand how to apply this?

    Regards

    Satya

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Business Rule does not apply to all users

    Confirmed. Added all users to 'Read' field security role for the field related to the Business Rule.

    Thank you!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Business Rule does not apply to all users

    This sounds like it might be the issue. I will let you know after I have a chance to test it.

    Thank you,

    Mark

  • Suggested answer
    Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Business Rule does not apply to all users

    Hello,

    Try to desactivate the BR and reactivate it.

  • Verified answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Business Rule does not apply to all users

    Does any of the field involved in the BR has Field Security enabled? if so do all the users have at least read access if the any of the FSP enable field used in BR conditions

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Business Rule does not apply to all users

    Thank you for your response. I've checked all fields in the Business Rule and they are on the form. All users have security access to the main form which is the one form all users use. We only have Main, Mobile and Quick View form types for this entity.

    The Business Rule does work when I run it.

    Thank you

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Business Rule does not apply to all users

    Hi

    Do you have multiple forms for the entity and if the users are accessing different forms based on security roles enabled,  even if you set the scope to all forms, the rule will not trigger if the fields that used in the condition not on the form.

    Please make sure all the forms have all the fields necessary for the Business Rule. A business rule will not trigger if all the fields that involve in the conditions are not present on the form (hidden/visible)

     

    Check if all fields are on the entity form

    If you are encountering issues with your Business Rules, it makes sense to check if all the fields involved in the conditions are present and published on the entity form. This may happen in a scenario where you are hiding a supporting field that shouldn’t necessarily be displayed to the user

    https://www.powerobjects.com/blog/2018/06/15/gotchas-business-rules-dynamics-365/

     

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans