I'm trying to figure out how to determine if a BPM process call using the REST API provided by Camunda succeded or not, this API will be called from a Node.js app:
http://localhost:8080/engine-rest/process-definition/key/TestBPM/start
{
"links": [
{
"method": "GET",
"href": "http://localhost:8080/engine-rest/process-instance/72cc8ced-42e9-11e6-9c9d-4c72b965fca0",
"rel": "self"
}
],
"id": "72cc8ced-42e9-11e6-9c9d-4c72b965fca0",
"definitionId": "TestBPM:4:128925ef-42e9-11e6-9c9d-4c72b965fca0",
"businessKey": null,
"caseInstanceId": null,
"ended": true,
"suspended": false,
"tenantId": null
}
In that JSON response i'm receiving that the proccess ended, but what i need to know is in which end state ended the process.... i there a way to do this??
BPM:
