Get a historic process instance

GET {{baseUrl}}/historic-process-instances/:processInstanceId?includeUserIds=false&includeProcessVariables=false

Get a historic process instance

Request Params

KeyDatatypeRequiredDescription
includeUserIdsbooleanIndication to include OTDS Id instead of email for users in the response.
includeProcessVariablesbooleanAn indication if the historic process instance global variables should be returned as well.

RESPONSES

status: OK

{"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":"1949-02-23T21:17:57.060Z","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7"},{"author":"vamsi","message":"OrderReceived","id":"e710b009-3397-11ea-b509-eeee0affefe7","time":"1951-12-05T23:36:54.695Z","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}}