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

KeyDatatypeRequiredDescription
idstringOnly return execution with the given execution id.
activityIdstringOnly return executions with the given activity id.
processDefinitionKeystringOnly return process instance executions with the given process definition key.
processDefinitionIdstringOnly return process instance executions with the given process definition id.
processInstanceIdstringOnly return executions which are part of the process instance with the given id.
messageEventSubscriptionNamestringOnly return executions which are subscribed to a message with the given name.
signalEventSubscriptionNamestringOnly return executions which are subscribed to a signal with the given name.
parentIdstringOnly return executions which are a direct child of the given execution.
filterByCurrentSubscriptionbooleanOnly return executions in the current subscription.
offsetstringStart position value in the list of items, used for pagination.
countstringNumber of items to be limited in the response, used for pagination. By default the count value is set to 10.
sortstringProperty to sort on, to be used together with the order.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

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}}