Get the Process Instance History
get
/process/api/v1/process-instances/{id}/history
Retrieves the history of a process instance using the instance ID.
Note:
You can use this API only on structured processes.
Request
Path Parameters
-
id(required): string
Process Instance 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 : ProcessInstanceHistory-allOf[1]
Type:
Show Source
object
-
instanceId: string
Instance Id
-
items: array
items
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
Nested Schema : ProcessInstanceHistoryItem
Type:
Show Source
object
-
activityId: string
The ID of the activity that this object is an instance of.
-
activityName: string
The name of the activity that this object is an instance of.
-
activityType: string
The type of the activity that this object is an instance of/
-
calledCaseInstanceId: string
The ID of the called case instance. Is only set if the activity is a call activity and the called instance a case instance.
-
calledProcessInstanceId: string
The ID of the called process instance. Is only set if the activity is a call activity and the called instance a process instance.
-
canceled: boolean
If true, this activity instance is canceled.
-
completeScope: boolean
If true, this activity instance did complete a Process scope.
-
durationInMillis: integer
(int64)
The time the instance took to finish (in milliseconds).
-
endTime: string
(date)
The time the instance ended. Default format* yyyy-MM-dd'T'HH:mm:ss.SSSZ.
-
executionId: string
The ID of the execution that executed this activity instance.
-
id: string
The ID of the activity instance.
-
parentActivityInstanceId: string
The ID of the parent activity instance, for example a sub process instance.
-
processDefinitionId: string
The ID of the process definition that this activity instance belongs to.
-
processDefinitionKey: string
The key of the process definition that this activity instance belongs to.
-
processInstanceId: string
The ID of the process instance that this activity instance belongs to.
-
startTime: string
(date)
The time the instance was started. Default format* yyyy-MM-dd'T'HH:mm:ss.SSSZ.
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