Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

"Unsaved changes" in some forms with active business rules.

(0) ShareShare
ReportReport
Posted on by 170

Hello!

I added a business rule that would auto-fill some fields (say field 3 & 4) according to values of fields 1 & 2. These are normal drop-down fields and search fields. Since that day, the save button (the mini blue floppy on the bottom right) keeps saying "unsaved changes". When I deactivate the business rule, the problem disappears.

Is there something I'm doing wrong? Or is it a bug?

Thank you for sharing your experience.

*This post is locked for comments

  • Manuesev Profile Picture
    Manuesev 115 on at
    RE: "Unsaved changes" in some forms with active business rules.

    Since the JS will execute prior than Business Rules, I would only consider the Workflow solution

  • Hikmat Daghestani Profile Picture
    Hikmat Daghestani 170 on at
    RE: "Unsaved changes" in some forms with active business rules.

    Hello Guillaume,

    it's good to know that it's a "normal" thing. MS should probably change it.

    The problem with on demand workflows is that the new filled values won't be visible for the user unless the form is saved and refreshed. I don't think this method will help the average users, they'll likely fill the fields manually rendering the workflow useless.

  • Verified answer
    RE: "Unsaved changes" in some forms with active business rules.

    Hi Hikmat,

    I Agree with Guillaume Domont suggestion.

    You can also write your custom java script to over come this issue.

  • Verified answer
    RE: "Unsaved changes" in some forms with active business rules.

    Hi,

    it is completly normal.

    Business rules are triggered on load of your form. As the business rules is setting some values, you then have dirty fields which need to be save.

    If you want to resolve your problem you could run an "on demand" workflow updating your records with the rules that you defined in your business rule.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

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,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans