Topic
1 reply Latest Post - ‏2013-03-25T20:18:17Z by SystemAdmin
SystemAdmin
SystemAdmin
1250 Posts
ACCEPTED ANSWER

Pinned topic Force.com Bulk API Usage

‏2013-03-25T19:38:23Z |
I am new to Cast Iron and am having difficulty using the Bulk API connector. I've configured the activity to the best of my knowledge and the orchestration completes successfully however nothing gets processed and I received the following response. I can clearly see that data is being passed to the connector but nothing happens. Any help would be appreciated.

<?xml version="1.0" encoding="UTF-8"?>
  • <jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<id>SOMEID</id>
<operation>upsert</operation>
<object>Custom_Object__c</object>
<createdDate>2013-03-25T19:36:10.000Z</createdDate>
<systemModstamp>2013-03-25T19:36:10.000Z</systemModstamp>
<state>Closed</state>
<externalIdFieldName>Key__c</externalIdFieldName>
<concurrencyMode>Parallel</concurrencyMode>
<contentType>XML</contentType>
<numberBatchesQueued>0</numberBatchesQueued>
<numberBatchesInProgress>0</numberBatchesInProgress>
<numberBatchesCompleted>0</numberBatchesCompleted>
<numberBatchesFailed>0</numberBatchesFailed>
<numberBatchesTotal>0</numberBatchesTotal>
<numberRecordsProcessed>0</numberRecordsProcessed>
<numberRetries>0</numberRetries>
<apiVersion>25.0</apiVersion>
</jobInfo>
Updated on 2013-03-25T20:18:17Z at 2013-03-25T20:18:17Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1250 Posts
    ACCEPTED ANSWER

    Re: Force.com Bulk API Usage

    ‏2013-03-25T20:18:17Z  in response to SystemAdmin
    The results that you posted look like they are from one of the "Batch" activities (e.g., Batch Insert). You need to use the Get Batch Results to actually determine the effect of the orchestration.

    The salesforce.com Bulk API processes data asynchronously. The that you showed correspond to adding a batch to a job. Once the job is closed, it will begin processing subject to salesforce.com internal priorities. The processing results will be in a document that starts something like (this is from a Batch Insert):
    <?xml version="1.0" encoding="UTF-8"?>
    • <resultswrapper xmlns="http://www.force.com/2009/06/asyncapi/dataload">
    - <resultwrapper batchID="75130000000ro4dAAA">
    - <result>
    <id>0013000001Bql3wAAB</id>
    <success>true</success>
    <created>true</created>
    </result>
    - <result>
    <id>0013000001Bql3xAAB</id>
    <success>true</success>
    <created>true</created>
    </result>

    You can use the salesforce.com UI to examine the status of your jobs under "Monitor Bulk Data Load Jobs".