I am interested to know the batch processing result operation on Salesforce insert? How do I achieve this?
Hi @Sangameswaran J ,
Thanks for the great questions. There is not a way to determine if a record succeeded or failed in the map logic. However, here are a couple potential workarounds:
- Add a flag data field and write to it on the target update operation. After the map is complete, run another map that queries to see which records are not flagged - those will be the ones that failed. You'll need more logic to be sure you only select a proper subset of correct target records - the ones that should have been updated.
- Use the Scribe API to query the execution history for the failed records. You'll have to do some custom programming, and parse the JSON for the failed record to get the data.
I will keep your question in mind and let you know if i come up another option.
Hi @Joe Dotson ,
I have already gone through and understood that Scribe does not give result operation for batch processing. But I am curious to know is there any alternative approach to achieve the same?
I am interested to know whether records are succeeded or resulted with error in batch processing which is not possible to get the same if I use batch processing.
Do you have any workaround or other approach for this?
The help document for Salesforce Connector describes both bulk and batch operations in the connector - have you seen this document in our help system: