Java Code Examples for org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity#getCaseDefinition()
The following examples show how to use
org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity#getCaseDefinition() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DefaultDmnHistoryEventProducer.java From camunda-bpm-platform with Apache License 2.0 | 5 votes |
protected String getCaseDefinitionKey(CaseExecutionEntity execution) { CaseDefinitionEntity definition = (CaseDefinitionEntity) execution.getCaseDefinition(); if (definition != null) { return definition.getKey(); } else { return null; } }
Example 2
Source File: DefaultCallableElementTenantIdProvider.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
protected String getCaseDefinitionTenantId(CaseExecutionEntity caseExecution) { CaseDefinitionEntity caseDefinition = (CaseDefinitionEntity) caseExecution.getCaseDefinition(); return caseDefinition.getTenantId(); }