use of org.camunda.bpm.engine.impl.el.ExpressionManager in project camunda-bpm-platform by camunda.
the class HumanTaskItemHandler method initializeTaskDefinitionFormKey.
protected void initializeTaskDefinitionFormKey(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) {
HumanTask definition = getDefinition(element);
String formKey = definition.getCamundaFormKey();
if (formKey != null) {
ExpressionManager expressionManager = context.getExpressionManager();
Expression formKeyExpression = expressionManager.createExpression(formKey);
taskDefinition.setFormKey(formKeyExpression);
}
}
use of org.camunda.bpm.engine.impl.el.ExpressionManager in project camunda-bpm-platform by camunda.
the class HumanTaskItemHandler method initializeTaskDefinitionPriority.
protected void initializeTaskDefinitionPriority(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context) {
HumanTask definition = getDefinition(element);
String priority = definition.getCamundaPriority();
if (priority != null) {
ExpressionManager expressionManager = context.getExpressionManager();
Expression priorityExpression = expressionManager.createExpression(priority);
taskDefinition.setPriorityExpression(priorityExpression);
}
}
Aggregations