protected Object execute(CommandContext commandContext, TaskEntity task) {
commandContext.getHistoryManager()
.reportFormPropertiesSubmitted(task.getExecution(), properties, taskId);
TaskFormHandler taskFormHandler = task.getTaskDefinition().getTaskFormHandler();
taskFormHandler.submitFormProperties(properties, task.getExecution());
if (completeTask) {
task.complete(properties, false);
}