select deadline from wf_tasks where task_id = :task_id