Skip to main content
Solved

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

  • November 15, 2021
  • 3 replies
  • 20 views

benvk
Contributor
Forum|alt.badge.img+7
  • Contributor

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.

View original
Did this help you find an answer to your question?

3 replies

david_r
Celebrity
  • 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+7
  • Author
  • Contributor
  • November 15, 2021
david_r wrote:

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
  • November 15, 2021
benvk wrote:

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings