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