AnsweredAssumed Answered

How to write error records in Error file and send as an email attachment?

Question asked by hitesh.patel984688 on Jul 23, 2018
Latest reply on Jul 23, 2018 by

Hi Experts,


I have a created a process where it reads records from xml file and upload records it into Salesforce once it got loaded successfully it is sending an email with total records loaded information but when if there is any issue with single record it is not loading complete file and sending all records data in email body. 


I would like only error records should be written into file and send it via email attachment instead of body. 


Please advise.