AnsweredAssumed Answered

Process instance query problem

Question asked by michael.nepyjwoda on Mar 12, 2014
Latest reply on Mar 19, 2014 by jbarrez

I think I'm having an issue with the runtime service and a process instance query:
the query code is :

return runtimeService.createProcessInstanceQuery().processDefinitionId(processDefinition.getId())

-processDefinition.getId() is defined and exists in the database.
-a matching process instance exists in the database and the runtime service should return a list with this process instance but it returns an empty list…

Thanks for your answer.

Best regards,

Michaël Nepyjwoda

PS: I can provide screenshots of the code and the database if it helps you but you will have to tell me how to post them.