Monday, December 30, 2024

Query to get Notifications sent by a given Oracle Workflow

SELECT wn.notification_id nid
      ,wn.context
      ,wn.group_id
      ,wn.status
      ,wn.mail_status
      ,wn.message_type
      ,wn.message_name
      ,wn.access_key
      ,wn.priority
      ,wn.begin_date
      ,wn.end_date
      ,wn.due_date
      ,wn.callback
      ,wn.recipient_role
      ,wn.responder
      ,wn.original_recipient
      ,wn.from_user
      ,wn.to_user
      ,wn.subject
  FROM wf_notifications wn
      ,wf_item_activity_statuses wias
 WHERE wn.group_id = wias.notification_id
   AND wias.item_type = 'XXITEMTP'
   AND wias.item_key = 'XXITEMTP001'

No comments:

Post a Comment

Query to get Parent and Child Accounts in Oracle APPS R12

SELECT ffv1.flex_value parent_account       ,ffvt1.description parent_account_desc   ,ffv2.flex_value child_account   ,ffvt2.description...