Creates an objective task from the specified task data.
1 table the objective task config.
2 objective object
the objective this task is part of.
1 objectiveTask
the objective task object.