AnsweredAssumed Answered

DEPLOYMENT_ID is null in ACT_RE_MODEL table (v5.16)

Question asked by cold_gin on Jun 15, 2016
Latest reply on Jul 1, 2016 by jbarrez
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:


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.