Skip to main content
Solved

Can I send a 'summary' email at the end of each run?

  • November 15, 2021
  • 3 replies
  • 30 views

benvk
Contributor
Forum|alt.badge.img+8
  • Contributor
  • 60 replies

I have a basic project as shown in the screenshot. In this example there are 54 items that need data cleansing (at the rejected port), I am wanting to send ONE email at the conclusion of this run, with a list of all the Property Numbers that were captured here.

 

If I add an emailer at this 'rejected' port I will get 54 emails. I am assuming there is a simple way to list then expand into the body of a single email?

 

workbench example

Best answer by david_r

You can e.g. use an Aggregator transformer to only send a single mail from the Rejected port. You could configure it to concatenate all the ID's into a single string.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

david_r
Celebrity
  • 8391 replies
  • Best Answer
  • November 15, 2021

You can e.g. use an Aggregator transformer to only send a single mail from the Rejected port. You could configure it to concatenate all the ID's into a single string.


benvk
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • 60 replies
  • November 15, 2021

You can e.g. use an Aggregator transformer to only send a single mail from the Rejected port. You could configure it to concatenate all the ID's into a single string.

Thanks David.

How do you recommend I format them into the HTML email?

Use <br> as the separator or similar?


david_r
Celebrity
  • 8391 replies
  • November 15, 2021

Thanks David.

How do you recommend I format them into the HTML email?

Use <br> as the separator or similar?

Depends on your requirements. Using <br> or a bullet list is certainly the easiest. If you want to get really fancy with it, you could use the HTMLReportGenerator.