Get a Process Instance Job
get
/process/api/v1/process-instances/{id}/jobs/{jobId}
Retrieves the details of a process instance Job job using the Instance ID.
Note:
You can use this API only on structured processes.
Request
Path Parameters
-
id(required): string
Process Instance Id
-
jobId(required): string
Job Id
Header Parameters
-
oci-original-url:
Actual endpoint which customer requested
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : ProcessInstanceJobItem-allOf[1]
Type:
Show Source
object
-
activityName: string
The display name of the activity for whuch the job is created.
-
createdTime: string
(date)
The date and time of job creation.Has the format yyyy-MM-dd'T'HH:mm:ss.
-
dueDate: string
(date)
The due date of the job.Has the format yyyy-MM-dd'T'HH:mm:ss.
-
exceptionMessage: string
The message of the exception that occurred, the last time the job was executed. Is null when no exception occurred.
-
exceptionTrace: string
The stack trace of the exception corresponding to an EXHAUSTED job.
-
executionId: string
The ID of the execution that created this job instance.
-
id: string
The ID of the job instance.
-
isExecuting: boolean
Flag to indicate whether the job is currently executing.
-
isRetryAllowed: boolean
Is job retry allowed for the user.
-
processDefinitionId: string
The ID of the process definition that this job instance belongs to.
-
processDefinitionKey: string
The key of the process definition that this job instance belongs to.
-
processInstanceId: string
The ID of the process instance that this job instance belongs to.
-
retries: integer
The number of retries left for the job
-
state: string
Allowed Values:
[ "SCHEDULED", "READY", "FAULTED", "EXHAUSTED" ]
State of the job- SCHEDULED,READY,FAULTED,EXHAUSTED.
Nested Schema : Link
Type:
object
Defines Link
Show Source
-
code: integer
Minimum Value:
100
Maximum Value:600
-
href(required): string
-
hreflang: string
-
length: integer
(int32)
-
mediaType: string
-
message: string
-
rel(required): string
-
title: string
-
type: string
401 Response
Unauthorized
404 Response
Job with given ID does not exist.
429 Response
Too many requests
500 Response
Internal server error
503 Response
Too many exceptions or too slow requests