protected override void PerformExecution(IActivityExecution execution)
        {
            TaskEntity task = TaskEntity.CreateAndInsert(execution);

            _taskDecorator.Decorate(task, execution);

            Context.CommandContext.HistoricTaskInstanceManager.CreateHistoricTask(task);

            // All properties set, now firing 'create' event
            task.FireEvent(TaskListenerFields.EventnameCreate);
        }