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 :
Customer experience | Sales, Customer Insights,...
Answered

send automatic reminder email to opportunity owners if the opportunity modified-on date is more than 12 months

(0) ShareShare
ReportReport
Posted on by 75

Hi,

I need to send an automatic reminder email to opportunity owners if the opportunity modified-on date is more than 12 months.

Please suggest how can I achieve this.

I have the same question (0)
  • Verified answer
    LuHao Profile Picture
    40,892 on at

    Hi Jayaa,

    Using flow would be an appropriate solution.

    Go to https://us.flow.microsoft.com/en-us/ and select the D365 environment.

    pastedimage1593676384475v1.png

    Then click Create > Scheduled flow.

    pastedimage1593676402439v2.png

    Enter the flow name and select the starting date, select Repeat every to 1 day. 

    You can choose the starting date as the time when employees start working every day, or in the middle of the night.

    pastedimage1593676423864v3.png

    Then set flow as follow.

    Overview:

    pastedimage1593675007478v14.png

    Detail:

    pastedimage1593675161220v15.png

    Among them,

    • The expression of "Filter Query" in "List records" is addDays(utcnow('yyyy-MM-ddTHH:mm:ssZ'),-365)

    pastedimage1593675833575v16.png

    • The expression of "Select an output from previous steps" in "Apply to each 2" is union(variables('Onwner'),variables('Onwner'))

    pastedimage1593675873846v17.png

    • The condition is items('Apply_to_each_2')

    pastedimage1593675910953v18.png

    • The expression in "Compose" is replace(body('Create_HTML_table'),'<table>','<table border="1" style='border-collapse:collapse'>')

    pastedimage1593675948732v19.png

    • The expression of "Item identifier" in "Get record" is items('Apply_to_each_2')

    pastedimage1593675981789v20.png

    The effect of this flow is that all the users who own opportunity records that “Modified On” field is 12 months ago will receive an email every day, it list the Opportunity records that “Modified On” field is 12 months ago .

    pastedimage1593676248849v21.png

  • Jayaa E Profile Picture
    75 on at

    Thanks Hao. Microsoft flow is available in on-premise as well?

  • LuHao Profile Picture
    40,892 on at

    Hi Jayaa,

    Unfortunately, Microsoft flow is not available in on-premise.

    You have to write a plug-in for on-premise.

  • Community Member Profile Picture
    on at

    Is it possible to get those screen shots bigger as I can't see how it is completed.  As I am trying to do this, but I can't figure out how just break it out to the single owners, as I have done it it shows one big list, and I dont want to send the big list to every owner, I just want to send what is theirs. 

  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    pastedimage1603851203087v1.png

    pastedimage1603851314156v2.png

    pastedimage1603851333308v3.png

    pastedimage1603851344458v4.png

    pastedimage1603851354429v5.png

  • Jason Fleming Profile Picture
    288 on at

    Hi Lu Hao,

    I am trying to copy this rule as I want to send a reminder to account owners of when a contract is due for renewal 6/7 months out from the renewal date.

    He is a screenshot of what it currently looks like when i attempt to copy your approach:

    pastedimage1619597808839v1.png

    List records is showing as a premium feature?? And this seems to be different to your screenshot too but Im guessing there have been updates. Is there a way of completing this using the old workflow method? Where I am struggling with this method is I dont have a trigger. The accounts are in the system, the renewal dates are in the system so I dont know what trigger to use to get my workflow to fire.

    Any additional help would be great as this would be a fantastic feature to have. I have also tried search for a video tutorial to follow but havent found anything online to date on this.

    Regards

    Jason

  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi Jason,

    "List records" (now it called "List rows") is an action of Dataverse.

    pastedimage1619598348485v1.png

    pastedimage1619598363514v2.png

  • Jason Fleming Profile Picture
    288 on at

    Hi Hao,

    Thanks for quick response. Still running into difficulties with this. Do you know if there is a video that i could follow on this perhaps? Sorry for all the questions, would really love to get something like this working for us.

  • LuHao Profile Picture
    40,892 on at

    Hi Jason,

    Unfortunately, I did not record the video.

    You can download the flow in xrmdynamicscrm.wordpress.com/.../

  • Jason Fleming Profile Picture
    288 on at

    OK, thank you as always. I attempted to upload this as you mentioned but the upload keeps failing. I downloaded the file in a zip file but it wont load.

    Ill keep looking for a solution, thank you for your time on this.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans