select transition_name from wf_transitions where transition_key = :transition_key and workflow_key = :workflow_key select deadline from wf_case_deadlines where case_id = :case_id and transition_key = :transition_key and workflow_key = :workflow_key