7.6. Job States¶
When jobs are created on the call of a workflow, they can end up in specific state that
State |
Description |
---|---|
|
The job is being populated with tasks through its discovery task and will begin when paths have been collected |
|
Some tasks within the job have started to be processed |
|
All tasks in a job have completed successfully |
|
There was an error or failure when attempting a task within a job, meaning the job could not complete |
|
Based on the output of the provided discovery task, no tasks needed to be created so there is no work to |
|
The job has been manually closed via request and all remaining task have been cancelled |
7.7. Task States¶
When jobs create tasks, after performing their action on the provided files they can end up in specific state as seen below
State |
Description |
---|---|
|
This task is has been created but has not yet been picked up by a site |
|
This task is now running on site |
|
This task has completed successfully |
|
There was a unexpected error when attempting a task within a job, meaning the job could not complete and could not provide structured output |
|
There was a captured error when attempting a task within a job, meaning the job will not have processed all paths but has structured output of what has been completed. Any paths which were successfully processed will be handled by subsequent tasks in a task chain. |
|
This task has will have no work to perform so it has been automatically skipped by another task |
|
Either a previous task has failed or the job has been manually cancelled, causing this task to no longer run |
Note
Job and task states are updated asynchronously. There may be, for example, a short delay between a job/task completing and its state being reported as such.