Allow to complete a task with variables.