Operation Details
Description: Search for all external subscriptions to a specified work queue.
Sterotype: nsmulti
SQL
SELECT
  workQueueSubscriptionID,
  ExternalUser.userName,
  subscriptionDateTime
INTO
  :workQueueSubscriptionID,
  :userName,
  :subscriptionDateTime 
FROM
  WorkQueueSubscription ,
  ExternalUser 
WHERE WorkQueueSubscription.workQueueID = :workQueueID 
  AND WorkQueueSubscription.userName = ExternalUser.userName 
  AND WorkQueueSubscription.subscriberType = 'RL50' 
  AND ExternalUser.statusCode = 'RST1'