This component is a function that realizes the smallest unit Bulk API operation.
For the API specifications used in this operation, please refer to the version of the API document, selected in the global resource, in the below mentioned link.
For information about using variables, refer to "variables".
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Name | Required | Not Available | Enter the name that appears on the script canvas. |
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Destination | Required | Not Available | Select Global Resources.
|
|
| Job ID | Required | Available | Enter the ID of the job to be specified. |
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Large Data Processing | Required | Not Available | Select a Large Data Processing Settings.
|
| Item name | Required/Optional | Use of Variables | Description | Supplement |
|---|---|---|---|---|
| Comment | Optional | Not Available | You can write a short description of this adapter. The description will be reflected in the specifications. |
<?xml version="1.0" encoding="UTF-8" ?>
<table>
<row>
<column>batchId</column>
<column>numberRecordsProcessed</column>
<column>createdDate</column>
<column>state</column>
<column>stateMessage</column>
<column>systemModstamp</column>
<column>numberRecordsFailed</column>
<column>apexProcessingTime</column>
<column>apiActiveProcessingTime</column>
<column>totalProcessingTime</column>
</row>
<row>
:
</row>
</table>
| Element Name | Column Name | Description | Supplement |
|---|---|---|---|
| row | Repeats as many times as the number of batches in the job. | ||
| column | batchId | The batch ID is output. | |
| numberRecordsProcessed | The record number of completed batch processes is output. | ||
| createdDate | The starting time of the batch is output. | ||
| state | The batch state is output.
|
||
| stateMessage | The batch state message is output. | ||
| systemModstamp | The batch SystemModstamp is output. | ||
| numberRecordsFailed | Stores the number of records that were not successfully processed by the specified batch. |
|
|
| apexProcessingTime | Stores the processing time (ms) of triggers and other processes related to the specified batch. |
|
|
| apiActiveProcessingTime | Stores the processing time (ms) of the specified batch. Does not include time waiting for a queue or for serialization / parallelization. |
|
|
| totalProcessingTime | Stores the processing time (ms) of the specified batch. Does not include time waiting for a queue or for serialization / parallelization. |
|
| Component Variable Name | Description | Supplement |
|---|---|---|
| job_id | The ID of the specified job is stored. |
|
| object | The object API of the specified job is stored. |
|
| external_id_field_name | The external ID item API Name, of the specified job, is stored. |
|
| concurrency_mode | The simultaneous execution mode of the specified job is stored. |
|
| content_type | The contents type of the specified job is stored. |
|
| state | The job state of the specified job is stored. |
|
| operation | The operation type of the specified job is stored. |
|
| created_by_id | The creator ID of the specified job is stored. |
|
| created_date | The created time of the specified job is stored. |
|
| number_batches_completed | The number of completed batches, of the specified job, is stored. |
|
| number_batches_queued | The number of batches, in the queue of the specified job, is stored. |
|
| number_batches_failed | The number of failed batches, in the specified job, is stored. |
|
| number_batches_progress | The number of batches in process, in the specified job, is stored. |
|
| number_batches_total | The total number of batches, in the specified job, is stored. |
|
| number_records_processed | The number of records that have completed the process, in the specified job, is stored. |
|
| number_records_failed | Stores the number of records that were not successfully processed by the specified batch. |
|
| number_retries | The number of retries in the specified job is stored. |
|
| apex_processing_time | Stores the processing time (ms) of triggers and other processes related to the specified batch. |
|
| api_active_processing_time | Stores the processing time (ms) of the specified batch. Does not include time waiting for a queue or for serialization / parallelization. |
|
| total_processing_time | Stores the total processing time (ms) of the specified page. Does not include time waiting for a queue. |
|
| system_modstamp | The system time of the specified job is stored. |
|
| server_url | The end point URL after Login is stored. |
|
| session_id | The session Id is stored. |
|
| message_category | In the case that an error occurs, the category of the message code corresponding to the error is stored. |
|
| message_code | In the case that an error occurs, the code of the message code corresponding to the error is stored. |
|
| message_level | In the case that an error occurs, the importance of the message code corresponding to the error is stored. |
|
| operation_api_exception_code | The ExceptionCode of the occured error, in a case of API error, is stored. |
|
| operation_error_message | If an error occurs, the error message of the occured error is stored. |
|
| operation_error_trace | When an error occurs, the trace information of the occured error is stored. |
|
| Exception Name | Reason | Resolution |
|---|---|---|
| ResourceNotFoundException Resource Definition is Not Found. Name:[] |
[Destination] is not specified. | Specify [Destination]. |
| ResourceNotFoundException Resource Definition is Not Found. Name:[<Global Resource Name>] |
The resource definition selected in [Destination] cannot be found. | Verify the global resource specified in [Destination] |
| java.net.UnknownHostException | This exception occurs when the PROXY server specified in the global resource cannot be found. | Verify the condition of the PROXY server. Or verify [Proxy Host] of the global resource specified in the [Destination]. |
| java.net.SocketTimeoutException connect timed out |
A time-out has occurred while connecting to Salesforce. | Verify the network condition and Salesforce server condition. Or check [Connection timeout(sec)] of the global resource specified in the [Destination]. |
| java.net.SocketTimeoutException Read timed out |
A time-out has occurred while waiting for a responce from the server after connecting to Salesforce. | Verify the network condition and Salesforce server condition. Or check [Timeout(sec)] of the global resource specified in the [Destination]. |
| jp.co.headsol.salesforce.adapter.exception.SalesforceAdapterIllegalArgumentException | Invalid value is set for the property of Salesforce Bulk adapter. | Check the error message, and verify the settings. |
| com.sforce.soap.partner.fault.LoginFault | Login to Salesforce has failed. | Check the ExceptionCode or error message, and refer to the information about this type of error in Salesforce-related documents etc. |
| com.sforce.async.AsyncApiException | An error has occurred in the batch or job executed in the Salesforce Bulk adapter. | Check the ExceptionCode or error message, and refer to the information about this type of error in Salesforce-related documents etc. |