Hello. I would like to retrieve the process definition using deployment ID as per this api:
ProcessDefinition pd = processDefinitionQuery.deploymentId(respositoryService.getModel(myModelIdToLookup).getDeploymentId()).singleResult();
However, the deployment ID is not populated (null) in both the ACT_RE_MODEL or the ACT_RE_PROCDEF tables, and as a result, this portion of the call returns null:
respositoryService.getModel(myModelIdToLookup).getDeploymentId()
Is this a bug? If not, how can I lookup a ProcessDefintion object? I have not been able to determine another way to get this, other than with deployment ID.
Activiti version is 5.16.
Thanks.