Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

How to trigger an e-mail to be sent, based on the current date

Posted on by 67

Good morning all,

I've been asked to create a solution to carry out the following task on our Property forms.

There are a couple of fields that have to equal a certain value, and then we have one that has a 'Handover Date' - if this is populated, and is within 6 calendar days of the current date, it is meant to generate an e-mail.

As in the e-mail is meant to be sent BEFORE the Handover date.

I'm thinking this should be easy, but I'm not seeing the solution currently - do I need to create a 'CurrentDate' field on the form and hide it?

Thanks

Dan

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: How to trigger an e-mail to be sent, based on the current date

    Hi partner,

    Don't forget to mark the verified answer by clicking Yes.

    pastedimage1569909514376v1.png

    This will help other users quickly navigate to this theme.

    Thanks.  :)

  • Suggested answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: How to trigger an e-mail to be sent, based on the current date

    Hi Dan,

    You could create a calculated field to store today's date.

    Please refer to this blog: https://community.dynamics.com/365/b/d365demystified/posts/modified-by-delegate-created-by-delegate-in-d365

    This way, you can use the workflow to achieve your needs.

    The condition for the workflow is as follows, you need to set its critical date in the form assistant.

    1.1.PNG    2.1.PNG

    If you are unfamiliar with the calculated fields and workflows, you could refer to these documents first: 

    1. https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/define-calculated-fields
    2. https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/workflow-processes

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

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

Featured topics

Product updates

Dynamics 365 release plans