List of executions for a process instance
GET {{baseUrl}}/process-instances/executions?id=nisi laboris cupidatat mollit&activityId=nisi laboris cupidatat mollit&processDefinitionKey=nisi laboris cupidatat mollit&processDefinitionId=nisi laboris cupidatat mollit&processInstanceId=nisi laboris cupidatat mollit&messageEventSubscriptionName=nisi laboris cupidatat mollit&signalEventSubscriptionName=nisi laboris cupidatat mollit&parentId=nisi laboris cupidatat mollit&filterByCurrentSubscription=true&offset=nisi laboris cupidatat mollit&count=nisi laboris cupidatat mollit&sort=processDefinitionId
A process instance can have multiple active paths in execution. Use this API to retrieve the current executions for a process instance.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id | string | Only return execution with the given execution id. | |
activityId | string | Only return executions with the given activity id. | |
processDefinitionKey | string | Only return process instance executions with the given process definition key. | |
processDefinitionId | string | Only return process instance executions with the given process definition id. | |
processInstanceId | string | Only return executions which are part of the process instance with the given id. | |
messageEventSubscriptionName | string | Only return executions which are subscribed to a message with the given name. | |
signalEventSubscriptionName | string | Only return executions which are subscribed to a signal with the given name. | |
parentId | string | Only return executions which are a direct child of the given execution. | |
filterByCurrentSubscription | boolean | Only return executions in the current subscription. | |
offset | string | Start position value in the list of items, used for pagination. | |
count | string | Number of items to be limited in the response, used for pagination. By default the count value is set to 10. | |
sort | string | Property to sort on, to be used together with the order. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"content":[[{"activityId":"SampleActivityId","id":"0737cb8c-3077-11ea-ad13-eeee0aff6857","links":{"empty":true},"parentId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","processInstanceId":"0737cb8c-3077-11ea-ad13-eeee0aff6857","superExecutionId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"},{"activityId":"SampleActivityId","id":"0737cb8c-3077-11ea-ad13-eeee0aff6857","links":{"empty":true},"parentId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","processInstanceId":"0737cb8c-3077-11ea-ad13-eeee0aff6857","superExecutionId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"}],[{"activityId":"SampleActivityId","id":"0737cb8c-3077-11ea-ad13-eeee0aff6857","links":{"empty":true},"parentId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","processInstanceId":"0737cb8c-3077-11ea-ad13-eeee0aff6857","superExecutionId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"},{"activityId":"SampleActivityId","id":"0737cb8c-3077-11ea-ad13-eeee0aff6857","links":{"empty":false},"parentId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","processInstanceId":"0737cb8c-3077-11ea-ad13-eeee0aff6857","superExecutionId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"}]],"links":{"empty":false}}