List historic process instances
GET {{baseUrl}}/historic-process-instances?processInstanceId=et esse&processInstanceName=et esse&processInstanceNameLike=et esse&processInstanceNameLikeIgnoreCase=et esse&processDefinitionKey=et esse&processDefinitionId=et esse&processDefinitionName=et esse&processDefinitionCategory=et esse&processDefinitionVersion=et esse&deploymentId=et esse&businessKey=et esse&businessKeyLike=et esse&involvedUser=et esse&finished=true&superProcessInstanceId=et esse&excludeSubprocesses=true&finishedAfter=1967-06-20T13:14:48.573Z&finishedBefore=1967-06-20T13:14:48.573Z&startedAfter=1967-06-20T13:14:48.573Z&startedBefore=1967-06-20T13:14:48.573Z&startedBy=et esse&includeProcessVariables=true&filterByCurrentSubscription=true&dueOn=1967-06-20T13:14:48.573Z&dueBefore=1967-06-20T13:14:48.573Z&dueAfter=1967-06-20T13:14:48.573Z&callbackId=et esse&callbackType=et esse&sortEmptyValuesOnTop=true&includeUserIds=false&includeProcessComments=true
List historic process instances
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
processInstanceId | string | An id of the historic process instance. | |
processInstanceName | string | A name of the historic process instance. | |
processInstanceNameLike | string | A name of the historic process instance used in a like query. | |
processInstanceNameLikeIgnoreCase | string | A name of the historic process instance used in a like query ignoring case. | |
processDefinitionKey | string | The process definition key of the historic process instance. | |
processDefinitionId | string | The process definition id of the historic process instance. | |
processDefinitionName | string | The process definition name of the historic process instance. | |
processDefinitionCategory | string | The process definition category of the historic process instance. | |
processDefinitionVersion | string | The process definition version of the historic process instance. | |
deploymentId | string | The deployment id of the historic process instance. | |
businessKey | string | The business key of the historic process instance. | |
businessKeyLike | string | Only return instances with a businessKey like this key. | |
involvedUser | string | An involved user of the historic process instance. | |
finished | boolean | Indication if the historic process instance is finished. | |
superProcessInstanceId | string | An optional parent process id of the historic process instance. | |
excludeSubprocesses | boolean | Return only historic process instances which are not sub processes. | |
finishedAfter | string | Return only historic process instances that were finished after this date. | |
finishedBefore | string | Return only historic process instances that were finished before this date. | |
startedAfter | string | Return only historic process instances that were started after this date. | |
startedBefore | string | Return only historic process instances that were started before this date. | |
startedBy | string | Return only historic process instances that were started by this user. | |
includeProcessVariables | boolean | An indication if the historic process instance variables should be returned as well. | |
filterByCurrentSubscription | boolean | Only return the process instances in the current subscription | |
dueOn | string | Only return process instances which are due on the given date. | |
dueBefore | string | Only return process instances which are due before the given date. | |
dueAfter | string | Only return process instances which are due after the given date. | |
callbackId | string | Only return instances with the given callbackId. | |
callbackType | string | Only return instances with the given callbackType. | |
sortEmptyValuesOnTop | boolean | If true, empty values are ordered at top of list. If false, empty values are ordered at bottom of list | |
includeUserIds | boolean | Indication to include OTDS Id instead of email for users in the response. | |
includeProcessComments | boolean | Indication to include process comments in the result. |
RESPONSES
status: OK
{"links":{"empty":true},"content":[[{"subscriptionId":"cda90802-4bcc-4134-9815-95b8ed50b516","tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b","endTime":"2020-04-02T17:20:18.722+05:30","variables":[{"name":"SampleVariable","type":"string","value":{},"encryption":false,"scope":"local"},{"name":"SampleVariable","type":"string","value":{},"encryption":false,"scope":"local"}],"callbackId":"SampleCallBackId","startUserId":"SampleUser","deleteReason":"SampleDeleteReason","endActivityId":"endEvent","callbackType":"SampleCallBackType","dueDate":"2021-04-02T17:20:18.722+05:30","referenceId":"SampleReferenceId","startActivityId":"startEvent","businessKey":"SampleBusinessKey","referenceType":"event-to-bpmn-2.0-process","name":"Sample Process","id":"68cb0e33-74d7-11ea-a29e-50e08558ee22","startTime":"2020-04-02T17:15:11.315+05:30","comments":[{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"1945-09-04T16:10:31.529Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"},{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"1968-08-24T15:18:08.957Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"}],"processDefinitionDescription":"Sample Process Definition Description","superProcessInstanceId":"53baeda7-6f40-11ea-8b7c-50e08558ee22","durationInMillis":86400056,"processDefinitionName":"Sample Process Definition","processDefinitionId":"SampleDeployment:3:668738b2-74d7-11ea-a29e-50e08558ee22","links":{"empty":true}},{"subscriptionId":"cda90802-4bcc-4134-9815-95b8ed50b516","tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b","endTime":"2020-04-02T17:20:18.722+05:30","variables":[{"name":"SampleVariable","type":"string","value":{},"encryption":false,"scope":"local"},{"name":"SampleVariable","type":"string","value":{},"encryption":false,"scope":"local"}],"callbackId":"SampleCallBackId","startUserId":"SampleUser","deleteReason":"SampleDeleteReason","endActivityId":"endEvent","callbackType":"SampleCallBackType","dueDate":"2021-04-02T17:20:18.722+05:30","referenceId":"SampleReferenceId","startActivityId":"startEvent","businessKey":"SampleBusinessKey","referenceType":"event-to-bpmn-2.0-process","name":"Sample Process","id":"68cb0e33-74d7-11ea-a29e-50e08558ee22","startTime":"2020-04-02T17:15:11.315+05:30","comments":[{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"1952-11-27T20:32:30.052Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"},{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"1944-11-08T08:32:51.763Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"}],"processDefinitionDescription":"Sample Process Definition Description","superProcessInstanceId":"53baeda7-6f40-11ea-8b7c-50e08558ee22","durationInMillis":86400056,"processDefinitionName":"Sample Process Definition","processDefinitionId":"SampleDeployment:3:668738b2-74d7-11ea-a29e-50e08558ee22","links":{"empty":false}}],[{"subscriptionId":"cda90802-4bcc-4134-9815-95b8ed50b516","tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b","endTime":"2020-04-02T17:20:18.722+05:30","variables":[{"name":"SampleVariable","type":"string","value":{},"encryption":false,"scope":"local"},{"name":"SampleVariable","type":"string","value":{},"encryption":false,"scope":"local"}],"callbackId":"SampleCallBackId","startUserId":"SampleUser","deleteReason":"SampleDeleteReason","endActivityId":"endEvent","callbackType":"SampleCallBackType","dueDate":"2021-04-02T17:20:18.722+05:30","referenceId":"SampleReferenceId","startActivityId":"startEvent","businessKey":"SampleBusinessKey","referenceType":"event-to-bpmn-2.0-process","name":"Sample Process","id":"68cb0e33-74d7-11ea-a29e-50e08558ee22","startTime":"2020-04-02T17:15:11.315+05:30","comments":[{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"1965-05-01T12:22:06.253Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"},{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"1980-05-07T18:10:31.987Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"}],"processDefinitionDescription":"Sample Process Definition Description","superProcessInstanceId":"53baeda7-6f40-11ea-8b7c-50e08558ee22","durationInMillis":86400056,"processDefinitionName":"Sample Process Definition","processDefinitionId":"SampleDeployment:3:668738b2-74d7-11ea-a29e-50e08558ee22","links":{"empty":true}},{"subscriptionId":"cda90802-4bcc-4134-9815-95b8ed50b516","tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b","endTime":"2020-04-02T17:20:18.722+05:30","variables":[{"name":"SampleVariable","type":"string","value":{},"encryption":false,"scope":"local"},{"name":"SampleVariable","type":"string","value":{},"encryption":false,"scope":"local"}],"callbackId":"SampleCallBackId","startUserId":"SampleUser","deleteReason":"SampleDeleteReason","endActivityId":"endEvent","callbackType":"SampleCallBackType","dueDate":"2021-04-02T17:20:18.722+05:30","referenceId":"SampleReferenceId","startActivityId":"startEvent","businessKey":"SampleBusinessKey","referenceType":"event-to-bpmn-2.0-process","name":"Sample Process","id":"68cb0e33-74d7-11ea-a29e-50e08558ee22","startTime":"2020-04-02T17:15:11.315+05:30","comments":[{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"1981-01-31T01:41:18.684Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"},{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"2003-07-21T22:54:36.993Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"}],"processDefinitionDescription":"Sample Process Definition Description","superProcessInstanceId":"53baeda7-6f40-11ea-8b7c-50e08558ee22","durationInMillis":86400056,"processDefinitionName":"Sample Process Definition","processDefinitionId":"SampleDeployment:3:668738b2-74d7-11ea-a29e-50e08558ee22","links":{"empty":false}}]]}