Get Single Execution

Retrieves a single execution according to the Execution interface in the engine.

Method

GET /execution/{id}

Parameters

Path Parameters

Name Description
id The id of the execution to be retrieved.

Result

A JSON object corresponding to the Execution interface in the engine. Its properties are as follows:

Name Value Description
id String The id of the execution.
processInstanceId String The id of the process instance that this execution instance belongs to.
ended Boolean A flag indicating whether the execution has ended or not.
tenantId String The tenant id of the execution.

Response Codes

Code Media type Description
200 application/json Request successful.
404 application/json Execution with given id does not exist. See the Introduction for the error response format.

Example

Request

GET /execution/anExecutionId

Response

{"id":"anExecutionId",
"processInstanceId":"aProcInstId",
"ended":false,
"tenantId":null}

On this Page: