Hello All.
Userguide has an example of GET /runtime/process-instances/{Id} call, which returns body with ‘activityId’ set to current activity:
{
"id":"7",
"url":"http://localhost:8182/runtime/process-instances/7",
"businessKey":"myBusinessKey",
"suspended":false,
"processDefinitionUrl":"http://localhost:8182/repository/process-definitions/processOne%3A1%3A4",
"activityId":"processTask",
"tenantId": null
}
I have a VERY basic process (start->userTask->end) with 1 user task just started. Running GET /runtime/tasks?processInstanceId={myProcInstanceId} returns a ‘userTask’ task correctly. But GET /runtime/process-instances/{myProcInstanceId} always has ‘activityId’ nulled. I expected it will have ‘myUserTaskId’ (current activity) in it.
Am I missing something?