Question

How can I send specific records with error message that are failed during migration in Salesforce?

  • 29 February 2024
  • 1 reply
  • 24 views

Badge +1

I'm migrating records from one Salesforce org to another org using FME Form. But during the translation, some of my records are passed and some are failed. Though some of the records are failed to migrate, it shows a successful translation message in translation log window. I know the number of records that are passed and failed. But the problem I'm dealing is occurring while sending email. I want to send the number of total records, passed records, failed records and along with the failed records it should also show the error that why those records failed to migrate. How can I show this information in email?


1 reply

Userlevel 6
Badge +33

When I need this, I use a HTMLReportGenerator to create a table and a HTMLExtractor to get the table from the result to paste in the emailer.

As an alternative, you can use an Aggregator to merge features into one and concatenate the strings with a newline.

Reply