Job/session stages and status tracking
Throughout the life cycle of a job or session, QDC continuously updates the status. The (result, state) pair can take on different values depending on the current stage of execution.
| Stage | Result | State |
|---|---|---|
| Initial state | Undefined | Undefined |
| Job submitted | Pending | Submitted |
| Job dispatched | Pending | Dispatched |
| During job setup | Pending | Setup |
| During job running | Pending | Running |
| Job cancelled | Aborted | Aborted |
| Job completed successfully | Completed | Successful |
| Job failed due to app reason | Completed | Unsuccessful |
| Job failed due to QDC processing error | Completed | Error |
The status is updated in real time and can be retrieved via job and session related APIs.