Configuring a task