CloseJobV2
Closes or aborts a Salesforce job.
Input
| Name | Type | Description |
| JobId | String | Id of the job being closed. |
| State | String | The state to update the job to. Use UploadComplete state to close a job. It is applicable only when the UploadJobDataV2 stored procedure is utilized or use Aborted state to abort a job.
The allowed values are UploadComplete, Aborted. |
| JobType | String | Type of job to use in the job. Valid values are 'UNKNOWN', 'INGEST' or 'QUERY'.
The allowed values are UNKNOWN, INGEST, QUERY. The default value is UNKNOWN. |
Result Set Columns
| Name | Type | Description |
| Closed | String | Whether the Job was closed or not. |