camunda-community-hub/camunda-tasklist-client-java

processDefinitionId returns "Process Instance Key"

volodya327 opened this issue · 2 comments

Hi Christophe,
When I try to get processDefinitionId, I receive a number that looks like "Process Instance Key" from another Instance.

processDefinitionId_Error

Hi Volodya,

If you check with Operate APIs, you will see that this definitionId is the good one.

Hello Christophe,

When I see a "Process Id" in Modeler, it has a string like "Process_107v1hv", but processDefinitionId in Tasklist Client containes "2251799816697009". I think, this is not Ok.
But if you think it's all right, then how to get real processDefinitionId ("Process_107v1hv") ?
P.S. taskDefinitionId in Tasklist Client is realy Ok.
processDefinitionId_Error2