Salesforce Close Ingest Job Activity
The Salesforce Close Ingest Job activity is used to change the state of open jobs to a completed state. For example, UploadComplete, Closed, Aborted.
General
On the General tab, establish a connection with the Salesforce.com server.
The following table lists the configurations on the General tab of the Salesforce Close Ingest Job activity:
Description
On the Description tab, enter a short description for the Salesforce Close Ingest Job activity.
Input
On the Input tab, specify the input values for the Salesforce Close Ingest Job activity.
The following table lists the input elements on the Input tab of the Salesforce Close Ingest Job activity:
Input Items | Data Type | Description |
---|---|---|
CloseJobConnection (All fields in this section are optional.) | ||
ServerUrl | String | Enter the web address of the endpoint that is used by this operation. |
SessionId | String | Enter the unique ID associated with this session. |
ExternalSessionIdUsed | Boolean | Specify whether an external session ID is used (true) or not (false).
If the value is set to true, an external session ID is automatically filled in the sessionId field. |
CloseJob | ||
jobId | String | Enter the ID of the bulk job that is going to be UploadComplete, closed, or aborted. |
state | String | Enter the state to update the job to.
Valid values: UploadComplete, Closed, or Aborted referring to either closing a job or aborting it. |
CloseJobOptional | ||
timeout | Long | Specify the number of milliseconds an internal API call waits before returning the data.
Default value: Infinite (that is, activity times out only after all records are processed) |
Output
On the Output tab, you can find the output value.
The following table lists the output elements on the Output tab of the Salesforce Close Job activity:
Fault
On the Fault tab, you can find the error code and error message of the Salesforce Close Ingest Job activity. See Error Codes for more information about error codes and corrective actions to take.
Fault | Thrown when.. |
---|---|
SalesforceRestException | There is a problem with REST request, response or any other REST API error. |
SalesforceLoginException | An error occurs when logging in to the Salesforce.com server. |
SalesforceBulkException | An error occurred when validating input parameters, requests, and parsing data before sending a request to Salesforce. |