Operation Details
Description: Returns all the assignments with names by task id for a work queue
Sterotype: nsmulti
SQL
SELECT
  ta.relatedID,
  oo.name
INTO
  :relatedID,
  :name 
FROM
  TaskAssignment ta ,
  WorkQueue oo 
WHERE oo.workQueueID = ta.relatedID 
  AND ta.assigneeType = :assigneeType 
  AND ta.taskID = :taskID