return getCallableElement().getVersion(caseExecution);
}
protected String getDeploymentId(CmmnActivityExecution execution) {
CmmnExecution caseExecution = (CmmnExecution) execution;
CmmnCaseDefinition definition = caseExecution.getCaseDefinition();
if (definition instanceof CaseDefinitionEntity) {
CaseDefinitionEntity caseDefinition = (CaseDefinitionEntity) definition;
return caseDefinition.getDeploymentId();
}
return null;