In this section: |
This procedure shows you how to create a data flow that uses the Bulk API to load data from a CSV file to a Salesforce object. The name and location of the file are variables that are specified at run time so that the same flow can be used for different data and objects. It performs insert operations, although that too could be a variable.
This example creates a job and then adds a batch to it. The maximum number of records that can be processed in a batch is controlled by Salesforce to balance resources among their customers. To process more records additional batches could be added to the job.
A new data flow window opens.
A Select Synonym object opens.
When you are done, the calculator display should look like the following image.
A Select Synonym window opens. If the filter button is checked, click it.
The Join Editor opens.
Under Left Source and Right Source, click on the field JOBID and
then click the button. Click Ok.
The Column Selection window opens. Under T1, click JOBID, and under T3 Ctrl-click BATCHID, as shown in the following image.
Click
the button and OK.
The WHERE Filter Calculator opens.
The target created by the flow in this procedure is going to have a single line that contains the Job ID and Batch ID assigned by Salesforce for the job. This information is important for the next steps.
The Target Properties window opens.
The completed data flow should look like the following image.
The Save Procedure as window opens. Enter a name for the flow, such as create_job_batch. Click Save.
WebFOCUS |