Job results
After submitting an import or synchronization request, you can monitor the status of the job via the Jobs resource of the REST Core API: GET /jobs/{jobId}
. The id of the job is returned in the Import API request response body as the id
field.
Depending on whether you selected the option to continue on error, the following table explains the returned job state and job result.
Continue on error | Job state | Job result | Description |
---|---|---|---|
Disabled (default) | Completed |
Success |
All import commands were executed, there were no errors and everything was committed. |
Error | Failure | There was at least one error and nothing was committed. | |
Enabled | Completed | Success | All import commands were executed, there were no errors and everything was committed. |
Completed | Completed_with_Error |
All import commands were executed, there were some errors and all successful commands were committed. The same state and result are also returned even when all commands have errors and nothing is committed but the number of failed commands is below the Number of failed commands before stopping import job set in the import configuration setting in Collibra Console. |
|
Completed | Aborted |
The import operation was stopped after reaching the Number of failed commands before stopping import job set in the import configuration setting in Collibra Console. All successful commands before reaching the threshold were committed. There might be cases where there are no valid commands before reaching the threshold and nothing is committed before the job is stopped. |
|
Error | Failure |
Something went wrong and caused the job to stop before processing all commands or reaching the number of failed commands threshold. Some data may have been committed. |
To get information about the number of resources that were created or modified and details about the failed commands, use the Import Results resource of the REST Import API.