public HumanTaskDefBuilder SetAutomaticCompletion(Action <CompletionBehaviorBuilder> callback)
        {
            var builder = new CompletionBehaviorBuilder();

            callback(builder);
            _humanTaskDef.CompletionAction = CompletionBehaviors.AUTOMATIC;
            _humanTaskDef.Completions      = builder.Build();
            return(this);
        }
        public HumanTaskDefBuilder SetManualCompletion(Action <CompletionBehaviorBuilder> callback)
        {
            var builder = new CompletionBehaviorBuilder();

            callback(builder);
            _humanTaskDef.CompletionAction = CompletionBehaviors.MANUAL;
            _humanTaskDef.Completions      = builder.Build();
            return(this);
        }