Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Business Rules not working

(0) ShareShare
ReportReport
Posted on by 170

Hi, 

I tried to modify a business rule that used to work before the modification attempt. This business rule simply checks the value of Field_1 which can have one of two values "Yes or No" then sets Field_2 as "Business required", else: set Field_2 as "Business not required". 

After the modification attempt, the business rule simply didn't work anymore, no visible errors or messages. I tried to delete it and re-create it, still doesn't work. 

When I try the same business rule with another yes/no field "let's say Field_3", it works perfectly fine, Field_2 gets the desired red asterisk.

I tried clearing the browser cash, re-create this business rule by another admin user, even tried to import it from a twin CRM in which it works.. 

What would you check/do if you were in my place?

*This post is locked for comments

  • RE: Business Rules not working

    I had the same problem with a field on the Lead or Inbound Interest, we are using Reach and Apply from Anthology based on the Dynamics platform.

    My solution was to go to the Lead (Inbound Interest) Fields and check if the field that I want to be affected by the business rule was in the solution. It wasn't so I import the subcomponent. After that, I published the solution and create a new Business Rule and start working

    Hope this helps you.

    Kind Regards

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Business Rules not working

    That did the trick! There were Fields missing on the Form

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Business Rules not working

    Worked like a charm, thanks!

  • Hikmat Daghestani Profile Picture
    Hikmat Daghestani 170 on at
    RE: Business Rules not working

    I was trying to add an error message to warn the user that a field will have a default value and will not be left empty.

  • Suggested answer
    Hikmat Daghestani Profile Picture
    Hikmat Daghestani 170 on at
    RE: Business Rules not working

    Your second guess was the correct one.

    There was another field in the form which had a similar name. As I changed its value in the testing phase, nothing happens. (Which is of course the correct result but I couldn't see it).

  • Suggested answer
    JayRogers Profile Picture
    JayRogers on at
    RE: Business Rules not working

    I've had issues previously where a business rule doesn't work. In all of those cases, one of the fields in the criteria wasn't on the form. If any fields in the Business Rule aren't on the form, the whole Business Rule won't run.

  • meenoo Profile Picture
    meenoo 7,316 on at
    RE: Business Rules not working

    Hi Hikmat,

    What were trying to modify in the business rule?

    Thank you.

  • Rajat Awasthi Profile Picture
    Rajat Awasthi 675 on at
    RE: Business Rules not working

    Field_1 and  Field_3.

    What is the data type?

  • ashlega Profile Picture
    ashlega 34,477 on at
    RE: Business Rules not working

    Could this be something simple.. scope? Is it enabled for the form you are testing?

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Business Rules not working

    Verify that the check condition is correct.

    OR

    The field which you are using in the condition. Is that the correct one as another field might also be using the same display name.

    OR

    If still not working then create a new two option field and try the rule with the new field and later delete the old one

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans