web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    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

  • ashlega Profile Picture
    34,477 on at

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

  • Rajat Awasthi Profile Picture
    675 on at

    Field_1 and  Field_3.

    What is the data type?

  • meenoo Profile Picture
    7,316 on at

    Hi Hikmat,

    What were trying to modify in the business rule?

    Thank you.

  • Suggested answer
    JayRogers Profile Picture
    on at

    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.

  • Suggested answer
    Hikmat Daghestani Profile Picture
    170 on at

    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).

  • Hikmat Daghestani Profile Picture
    170 on at

    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.

  • Community Member Profile Picture
    on at

    Worked like a charm, thanks!

  • Community Member Profile Picture
    on at

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

  • Cristian rodriguez Profile Picture
    5 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans