CloudStreams - Cloud connector service - Bulk API

Hi ,
I am trying to do a POC using bulk API salesforce connector.

  1. Create Job - connection was successful.
    2.Create batch - Failed ( Transport Sender Error : is null ).

have anyone tried bulk API ?

Thanks
Anu

Hi Anu,

Looking at the error you are facing, there was no request sent in request body for the service execution. :roll:

You can add a Batch to a Job. See here Salesforce Developers .
The Job can have any of these content types for a batch: XML, CSV, ZIP_XML, or ZIP_CSV (JSON is not supported in the Salesforce Bulk Connector)

Then create a cloud connector service(CCS) for Create Batch resource. The Create Batch CCS accepts a Job ID as parameter and the request body as stream. Execute this service in a flow service passing a valid request stream to the request and the service should execute fine.

H2H.

Regards,
Punith DG

Hi Anu,

We are trying to implement the batch API at our place as we have a requirement to send load daily night basis. for that i have created provider connection for Bulk API and would like to know how to create a JOB , BATCH. Could you please provide me the step by step process or is there any reference links to go over it. much appreciated for your help.

Thanks

Hi Balu,

You can have a look at https://resources.docs.salesforce.com/sfdc/pdf/api_asynch.pdf

This pdf explains batch APIs and their usage.

Regards,
Priyanka

hi Priyanka,

Thanks for swift reply.

I am looking for the webMethods connecting to Saleforce cloud stream through BULK API connector. here we create Job, Batch by using the Cloud connector service.

here when i created the CCS, ia m not able to select the business object when creating a JOB or batch in webMethods designer.

Coul any one of you created a Job, batch through webMethods designer and let me know how to create it.

Thanks in advance.
Balu

Balu,

For creating connector services, you can refer to the official connector documentation present along with the Salesforce connector.

http://techcommunity.softwareag.com/ecosystem/communities/public/webmethods/products/cloudstreams/downloads/SalesForce-CRM-Bulk-Data-Loader/

For the Bulk APIs, if you are trying to create a job using CreateJob resource, you don’t need to select a business object. Once you select CreateJob in the list of resources, you would see that all the required fields are already filled in. You can then start using the service by providing your input data.

Hope that helps.

regards
Vatsal