select context_key, context_name, '' as selected from wf_contexts order by context_name select pretty_name from acs_object_types where object_type = :workflow_key