Hello,
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())
.orderByProcessInstanceId().asc().list();
}
…
-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.