web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Export to List

(0) ShareShare
ReportReport
Posted on by 155

I have a workflow that checks if an item is older than a certain date, and if it is the workflow sends an email to a specific E-Mail address.

Depending on how many items are older than the date, it could mean a lot of emails.

Is it possible to export all the items older than a certain date to a list with a workflow, and then send the list per E-Mail with the same workflow? 

I have the same question (0)
  • Suggested answer
    T.I.A Profile Picture
    1,760 on at

    If you use a custom workflow activity you can use a QueryExpression or FetchExpression to retrieve all the items older than a specific date. After you do this you can use a for/foreach to append all of the old items

    stackoverflow.com/.../how-to-load-html-code-into-c-sharp-string

    docs.microsoft.com/.../microsoft.xrm.sdk.query.queryexpression

  • Fubar Profile Picture
    2,761 on at

    Possibly look at doing it in Flow (Automate).  You can create a recurring flow, query to find your records, then add them to the body of an email.  Someone had a good example of doing this with Opportunities where they would send an weekly email with a list of new Opportunities (think there was already a prebuilt Template in flow for it - and you could modify it to work with any entity not just opportunity) but I can't find the link  - it was similar to this www.syvantis.com/.../how-to-use-microsoft-flow-to-automatically-send-a-weekly-email-of-open-leads-in-dynamics-365 (but the other one did a better job with the email)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 73 Super User 2026 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#3
11manish Profile Picture

11manish 50

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans