Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Simple business rule stopped working, no error, just doesn't work anymore.

(1) ShareShare
ReportReport
Posted on by
In a model driven app I'm building, there is a business rule on the main form that says that /Deal Started Date/, a field that appears in the first tab of the form, should automatically set to Created On date if it's blank. In most cases the Deal Started Date is the day the user is inputting the form, so this makes life easier for them.
 
The business rule is very simple. If Deal Started Date does not contain data, then Set Field Value on Deal Started Date to the value of the field Created On.
 
This was working fine for months. All of a sudden, it stopped. Other business rules still work fine. Deactivating it and creating a new rule with the exact same parameters doesn't help. Using Set Default Value instead of Set Field Value doesn't help. Does a blank date somehow manage to contain data anyway and thus fail the /does not contain data/ condition? Or is there some other issue I might be able to look at to solve this?
  • Suggested answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Simple business rule stopped working, no error, just doesn't work anymore.
    Hi,
     
    According to the Microsoft documentation.
    A business rule may not execute because the column referenced in the business rule isn't included with the form.
     
    Please check whether you have added the Created On field in your form.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     

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

Product updates

Dynamics 365 release plans