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 365 | Integration, Dataverse...
Suggested Answer

business rule based on today date?

(0) ShareShare
ReportReport
Posted on by

Hi,

Is it possible to create a business rule which show/hide controls based on today date?

I have a field "alert date", when this date is reached, I want to display some controls, else these controls can be hidden.

so I want a IF new_alertdate <= today then ....

is it possible?

thanks.

I have the same question (0)
  • Suggested answer
    Marco.P Profile Picture
    2,405 on at

    Hi Jerome,

    You could try by creating a calculated date "now" field and using this in your business rule :

    If new_alertdate<="calculatedfield*" 

    community.dynamics.com/.../store-today-s-date-in-a-field-to-use-in-workflow-conditions-in-d365-ce

    Let me know if It works,

    Hope It helps 

    Marco


    If you found the answer helpful for you or other readers, please mark as Verified.

  • Jerome P1 Profile Picture
    on at

    Thanks !

    a little complicated, but interesting solution.

    I'm testing a custom control for now, because I need to display my text in specific colors too.

    so displayed only when a date is reached + change the color based on the number of days (date in the future: hide the text, first week = no color, after 1 week in red)

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans