Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

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

(2) ShareShare
ReportReport
Posted on by 4
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
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,596 Super User 2024 Season 1 on at
    Setting a delayed status when deadline < Now() in Business Rules
    Hello User,
     
    Please check it out the Calculated fields...if it is working as expected then no need for any customisation.
     
     
    Thank you,
    Amit Katariya 
  • Suggested answer
    VaHiX Profile Picture
    VaHiX 3,119 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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans