Skip to main content

Notifications

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.

  • Jerome P1 Profile Picture
    on at
    RE: business rule based on today date?

    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)

  • Suggested answer
    Marco.P Profile Picture
    2,405 on at
    RE: business rule based on today date?

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans