ProcessDefinitionEntity processDefinition = findDeployedProcessDefinitionById(processDefinitionId);
String deploymentId = processDefinition.getDeploymentId();
String resourceName = processDefinition.getResourceName();
InputStream bpmnResourceInputStream = new GetDeploymentResourceCmd(deploymentId, resourceName)
.execute(Context.getCommandContext());
try {
bpmnModelInstance = Bpmn.readModelFromStream(bpmnResourceInputStream);
}catch(Exception e) {