AnsweredAssumed Answered

How to delete multiple Ids in Salesfore

Question asked by 43353959 on Dec 6, 2016
Latest reply on Dec 8, 2016 by Ramya_Nakkapalle

I'm using the DELETE operation on a custom object (Functional_Association_Detail__c).  I have a Map shape before the Salesforce connector.  The input to the Salesforce connector (output of Map shape) is below.  I'm basically trying to delete 4 records by Id (which I got from an earlier Query operation).

 

<?xml version='1.0' encoding='UTF-8'?>
<Functional_Association_Detail__c>
  <DeleteIds>
    <Id>a3o170000008rcsAAA</Id>
    <Id>a3o170000008rcxAAA</Id>
    <Id>a3o170000008rcoAAA</Id>
    <Id>a3o170000008rcnAAA</Id>
  </DeleteIds>
</Functional_Association_Detail__c>

 

When I execute the process in Test mode, I keep getting this error:

Test execution of Update HR Business Partners for Workers completed with errors. Embedded message: Document Error Msg: Number of results does not match number of SObjects

 

I have already looked at:

https://community.boomi.com/docs/DOC-2471#jive_content_id_Error_Error_executing_Salesforce_send_Number_of_results_does_n… 

 

But it's not helping.  I have tried checking ON and OFF the checkboxes below on the DELETE operation to no avail.

 

Return Application Error Responses

Use Bulk API

 

Do I have to delete 1 record/Id at a time?

Outcomes