Sunday, September 25, 2022

Query to get Open FYI notifications in Oracle Workflow

SELECT wfn.recipient_role
  ,wfn.notification_id
  ,wfn.status
  ,wfn.mail_status
  ,wfn.subject
  FROM wf_item_activity_statuses wias
      ,wf_notifications wfn
 WHERE wias.notification_id=wfn.notification_id
   AND wfn.status='OPEN'
   AND wias.activity_status='COMPLETE'
   AND wfn.end_date is null
   AND wfn.message_type = 'REQAPPRV'
ORDER BY wfn.recipient_role;

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...