use of org.camunda.bpm.engine.delegate.Expression in project camunda-bpm-platform by camunda.
the class TaskDecorator method initializeTaskName.
protected void initializeTaskName(TaskEntity task, VariableScope variableScope) {
Expression nameExpression = taskDefinition.getNameExpression();
if (nameExpression != null) {
String name = (String) nameExpression.getValue(variableScope);
task.setName(name);
}
}
use of org.camunda.bpm.engine.delegate.Expression in project camunda-bpm-platform by camunda.
the class TaskDecorator method initializeTaskDescription.
protected void initializeTaskDescription(TaskEntity task, VariableScope variableScope) {
Expression descriptionExpression = taskDefinition.getDescriptionExpression();
if (descriptionExpression != null) {
String description = (String) descriptionExpression.getValue(variableScope);
task.setDescription(description);
}
}
Aggregations