List process instances

GET {{baseUrl}}/process-instances?id=nisi laboris cupidatat mollit&name=nisi laboris cupidatat mollit&nameLike=nisi laboris cupidatat mollit&nameLikeIgnoreCase=nisi laboris cupidatat mollit&processDefinitionKey=nisi laboris cupidatat mollit&processDefinitionId=nisi laboris cupidatat mollit&processDefinitionCategory=nisi laboris cupidatat mollit&processDefinitionVersion=-60440014&businessKey=nisi laboris cupidatat mollit&startedBy=nisi laboris cupidatat mollit&startedBefore=1972-11-16T11:48:04.230Z&startedAfter=1972-11-16T11:48:04.230Z&involvedUser=nisi laboris cupidatat mollit&suspended=true&superProcessInstanceId=nisi laboris cupidatat mollit&subProcessInstanceId=nisi laboris cupidatat mollit&excludeSubprocesses=true&includeProcessVariables=true&callbackId=nisi laboris cupidatat mollit&callbackType=nisi laboris cupidatat mollit&dueOn=1972-11-16T11:48:04.230Z&dueBefore=1972-11-16T11:48:04.230Z&dueAfter=1972-11-16T11:48:04.230Z&offset=nisi laboris cupidatat mollit&count=nisi laboris cupidatat mollit&filterByCurrentSubscription=true&sort=id&order=asc&includeUserIds=false&includeProcessComments=true&sortEmptyValuesOnTop=true

List process instances.

Request Params

KeyDatatypeRequiredDescription
idstringOnly return process instance with the given process instance id.
namestringOnly return process instances with the given name.
nameLikestringOnly return process instances like the given name.
nameLikeIgnoreCasestringOnly return process instances like the given name ignoring case.
processDefinitionKeystringOnly return process instances with the given process definition key.
processDefinitionIdstringOnly return process instances with the given process definition id.
processDefinitionCategorystringOnly return process instances with the given process definition category.
processDefinitionVersionnumberOnly return process instances with the given process definition version.
businessKeystringOnly return process instances with the given subscription id.
startedBystringOnly return process instances started by the given user.
startedBeforestringOnly return process instances started before the given date.
startedAfterstringOnly return process instances started after the given date.
involvedUserstringOnly return process instances in which the given user is involved.
suspendedbooleanIf true, only return process instance which are suspended. If false, only return process instances which are not suspended (active).
superProcessInstanceIdstringOnly return process instances which have the given super process-instance id (for processes that have a call-activities).
subProcessInstanceIdstringOnly return process instances which have the given sub process-instance id (for processes started as a call-activity).
excludeSubprocessesbooleanReturn only process instances which are not sub processes.
includeProcessVariablesbooleanIndication to include process variables in the result.
callbackIdstringOnly return process instances with the given callbackId.
callbackTypestringOnly return process instances with the given callbackType.
dueOnstringOnly return process instances which are due on the given date.
dueBeforestringOnly return process instances which are due before the given date.
dueAfterstringOnly return process instances which are due after the given date.
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.
filterByCurrentSubscriptionbooleanOnly return the process instances in the current subscription
sortstringProperty to sort on, to be used together with the order.
orderstringOrder to be used together with the sort.
includeUserIdsbooleanIndication to include OTDS Id instead of email for users in the response.
includeProcessCommentsbooleanIndication to include process comments in the result.
sortEmptyValuesOnTopbooleanIf true, empty values are ordered at top of list. If false, empty values are ordered at bottom of list

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"content":[[{"activityId":"SampleActivityId","businessKey":"SampleBusinessKey","callbackId":"SampleCallBackId","callbackType":"SampleCallBackType","comments":[{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1954-03-18T01:33:14.159Z"},{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1970-02-02T13:33:57.315Z"}],"completed":false,"dueDate":"2020-04-17T10:17:43.902+0000","ended":false,"id":"f8985abd-3391-11ea-b509-eeee0affefe7","links":{"empty":true},"name":"Sample Process","processDefinitionName":"SampleDefinitionName","startTime":"2003-05-07T22:22:36.504Z","startUserId":"SampleUser","subscriptionId":"cda90802-4bcc-4134-9815-95b8ed50b516","superProcessInstanceId":"f8985ab8-3391-11ea-b509-eeee0affefe7","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b","variables":[{"encryption":false,"name":"SampleVariable","scope":"local","type":"string","value":{}},{"encryption":false,"name":"SampleVariable","scope":"local","type":"string","value":{}}]},{"activityId":"SampleActivityId","businessKey":"SampleBusinessKey","callbackId":"SampleCallBackId","callbackType":"SampleCallBackType","comments":[{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1958-07-15T13:50:01.204Z"},{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"2014-05-19T16:13:21.668Z"}],"completed":false,"dueDate":"2020-04-17T10:17:43.902+0000","ended":false,"id":"f8985abd-3391-11ea-b509-eeee0affefe7","links":{"empty":true},"name":"Sample Process","processDefinitionName":"SampleDefinitionName","startTime":"2009-03-29T12:26:36.663Z","startUserId":"SampleUser","subscriptionId":"cda90802-4bcc-4134-9815-95b8ed50b516","superProcessInstanceId":"f8985ab8-3391-11ea-b509-eeee0affefe7","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b","variables":[{"encryption":false,"name":"SampleVariable","scope":"local","type":"string","value":{}},{"encryption":false,"name":"SampleVariable","scope":"local","type":"string","value":{}}]}],[{"activityId":"SampleActivityId","businessKey":"SampleBusinessKey","callbackId":"SampleCallBackId","callbackType":"SampleCallBackType","comments":[{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1988-04-07T17:16:12.215Z"},{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"2017-07-03T00:49:57.130Z"}],"completed":false,"dueDate":"2020-04-17T10:17:43.902+0000","ended":false,"id":"f8985abd-3391-11ea-b509-eeee0affefe7","links":{"empty":false},"name":"Sample Process","processDefinitionName":"SampleDefinitionName","startTime":"2016-05-23T04:28:24.557Z","startUserId":"SampleUser","subscriptionId":"cda90802-4bcc-4134-9815-95b8ed50b516","superProcessInstanceId":"f8985ab8-3391-11ea-b509-eeee0affefe7","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b","variables":[{"encryption":false,"name":"SampleVariable","scope":"local","type":"string","value":{}},{"encryption":false,"name":"SampleVariable","scope":"local","type":"string","value":{}}]},{"activityId":"SampleActivityId","businessKey":"SampleBusinessKey","callbackId":"SampleCallBackId","callbackType":"SampleCallBackType","comments":[{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1993-01-15T03:38:18.263Z"},{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1975-06-11T11:22:47.155Z"}],"completed":false,"dueDate":"2020-04-17T10:17:43.902+0000","ended":false,"id":"f8985abd-3391-11ea-b509-eeee0affefe7","links":{"empty":true},"name":"Sample Process","processDefinitionName":"SampleDefinitionName","startTime":"1958-06-14T05:43:29.279Z","startUserId":"SampleUser","subscriptionId":"cda90802-4bcc-4134-9815-95b8ed50b516","superProcessInstanceId":"f8985ab8-3391-11ea-b509-eeee0affefe7","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b","variables":[{"encryption":false,"name":"SampleVariable","scope":"local","type":"string","value":{}},{"encryption":false,"name":"SampleVariable","scope":"local","type":"string","value":{}}]}]],"links":{"empty":false}}