Operation Details
Description: Searches for an overlap with the task definition entity.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :numberOfRecords 
FROM
  AllocationTargetItem,
  TaskDefinition 
WHERE upper(AllocationTargetItem.relatedName) LIKE :name 
  AND 
  (
    AllocationTargetItem.relatedName = TaskDefinition.name 
  )