Monday, December 30, 2024

Query to Select all Oracle Workflow Items for a given Item Type

SELECT item_type
      ,item_key
  ,TO_CHAR(begin_date, 'DD-MON-RR HH24:MI:SS') begin_date
  ,TO_CHAR(end_date, 'DD-MON-RR HH24:MI:SS') end_date
  ,root_activity activity
  FROM apps.wf_items
 WHERE item_type = 'XXITEMTP'
   AND end_date IS NULL
 ORDER BY to_date(begin_date, 'DD-MON-YYYY hh24:mi:ss')
 ASC

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