List Process Instance Jobs

get

/process/api/v1/process-instances/{id}/jobs

Retrieves the list of process instance jobs for a given instance ID.

Note:

You can use this API only on structured processes.

Request

Path Parameters
Query Parameters
  • Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left.
    Default Value: 25
  • Pagination of results. Specifies the index of the first result to return.
    Default Value: 0
  • Sort the results by a given criterion. Valid values are JOBID, RETRIES, DUEDATE. Must be used in conjunction with the sortOrder parameter.
    Allowed Values: [ "JOBID", "RETRIES", "DUEDATE" ]
  • Sort the results in a given order. Values may be ASC for ascending order or DESC for descending order. Must be used in conjunction with the sortBy parameter.
    Allowed Values: [ "ASC", "DESC" ]
  • Job states: * `ALL` - All jobs for the process instance * `SCHEDULED` - Jobs with due dates in the future. Can include FAULTED jobs too which are scheduled for retry. * `READY` - Jobs with due dates in the past which might be executing currently or are stuck. Can include FAULTED jobs too which are executing or stuck. * `FAULTED` - Jobs which have faulted with exception. * `EXHAUSTED` - Jobs which have faulted and exhausted all retries.
    Default Value: ALL
    Allowed Values: [ "ALL", "SCHEDULED", "READY", "FAULTED", "EXHAUSTED" ]
  • Specifies if total number of results need to be returned
    Default Value: false
Header Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : ProcessInstanceJobs
Match All
Show Source
Nested Schema : CommonModel
Type: object
Show Source
Nested Schema : ProcessInstanceJobs-allOf[1]
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : ProcessInstanceJobItem
Match All
Show Source
Nested Schema : ProcessInstanceJobItem-allOf[1]
Type: object
Show Source

401 Response

Unauthorized

404 Response

Process instance id does not exist.

429 Response

Too many requests

500 Response

Internal server error

503 Response

Too many exceptions or too slow requests
Back to Top