Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Unanswered

Setting a delayed status when deadline < Now() in Business Rules

Posted on by
Hello.
I know that there is no direct way of comparing dates in Bus rules to current time, but what have others done to overcome this.

I have set up conditional rules for my dataverse table, so we can see what projects are open, completed, delayed etc. For delayed I want to have it so the column Deadline>Now(), but obvioulsy that cannot be done directly. How have others come around this??
Thanks in advance,
Paul
  • Suggested answer
    VaHiX Profile Picture
    VaHiX 1,331 on at
    Setting a delayed status when deadline < Now() in Business Rules
    One common approach is to use workflows or Power Automate (formerly Microsoft Flow) to handle date comparisons. 
    Another approach is to use JavaScript on the form to perform the date comparison when the form loads or when a field changes.
     
     

    ** Please don't forget to close up the thread here by Like and verify it as an answer if it is helpful **

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans