Get a Process Execution
get
/process/api/v1/process-executions/{id}
Get a Process execution for a given execution ID. You can use this API function only on structured processes.
Request
Path Parameters
-
id(required): string
Process execution 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 : ProcessExecution-allOf[1]
Type:
Show Source
object
-
activityId: string
The ID of the activity.
-
activityName: string
The name of the activity.
-
activityType: string
The type of the activity.
-
assignee: string
The assignee incase the activity is a user task.
-
availableActions: array
availableActions
-
availablePermissions: array
availablePermissions
-
bpmnProcessTitle: string
Sructured Process Title
-
calledProcessInstance: string
The name of the calledProcessInsatnce
-
createTime: string
The time the instance was created. Has the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, Returns date in UTC.
-
durationInMillis: integer
(int64)
The time the instance took to finish (in milliseconds).
-
endTime: string
The time the instance ended. Has the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, Returns date in UTC.
-
executionId: string
The ID of the execution.
-
failureMessage: string
This shows failure reasons when activity is in failed state
-
faultData: object
FaultData
-
id: string
The ID of the process execution instance.
-
parentProcessActivityInstanceId: string
The ID of the parent process activity this instance belongs to.
-
processDefinitionId: string
The ID of the process definition that this process activity instance belongs to.
-
processExecutionId: string
The ID of the process execution instance.
-
processInstanceId: string
The ID of the process instance that this execution instance belongs to.
-
required: boolean
If this activity is required
-
state: string
Default Value:
ACTIVE
Allowed Values:[ "AVAILABLE", "ENABLED", "DISABLED", "ACTIVE", "COMPLETED", "TERMINATED", "FAILED", "SUSPENDED" ]
state of the process activity instance -
taskId: string
Task Id
-
taskTitle: string
Task Title
-
userId: string
The ID of the user this activty instance is assigned to.
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 : FaultData
Type:
Show Source
object
-
errorCause: string
Error Cause
-
errorCode: string
Error Code
-
errorMessage: string
Error Message
-
errorStatus: integer
Error Status
401 Response
Unauthorized
404 Response
Process execution 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