Workflow Important Tables
apps.WF_ITEM_TYPES
apps.WF_ITEM_ATTRIBUTES
APPS.WF_ACTIVITIES
apps.WF_ACTIVITY_ATTRIBUTES
apps.WF_MESSAGES
apps.WF_MESSAGE_ATTRIBUTES
apps.WF_NOTIFICATIONS
apps.WF_NOTIFICATION_ATTRIBUTES
apps.WF_ITEMS
SELECT STA.ITEM_TYPE ITEM_TYPE
, STA.ACTIVITY_RESULT_CODE RESULT
, PRA.PROCESS_NAME ||':'||
PRA.INSTANCE_LABEL PROCESS_ACTIVITY_LABEL
, STA.PROCESS_ACTIVITY INSTANCE_ID
, STA.ITEM_KEY ITEM_KEY, STA.ACTIVITY_RESULT_CODE, STA.ERROR_MESSAGE, STA.ACTIVITY_STATUS, STA.BEGIN_DATE, STA.*
FROM apps.WF_ITEM_ACTIVITY_STATUSES STA
, apps.WF_PROCESS_ACTIVITIES PRA
WHERE STA.ACTIVITY_STATUS = 'ERROR'
AND STA.PROCESS_ACTIVITY = PRA.INSTANCE_ID
AND STA.ITEM_TYPE = 'DA_APP_5'--ITEM_TYPE_SELECTED
--AND STA.PROCESS_ACTIVITY = ERRANT_INSTANCE_ID
apps.WF_ITEM_ATTRIBUTES
APPS.WF_ACTIVITIES
apps.WF_ACTIVITY_ATTRIBUTES
apps.WF_MESSAGES
apps.WF_MESSAGE_ATTRIBUTES
apps.WF_NOTIFICATIONS
apps.WF_NOTIFICATION_ATTRIBUTES
apps.WF_ITEMS
SELECT STA.ITEM_TYPE ITEM_TYPE
, STA.ACTIVITY_RESULT_CODE RESULT
, PRA.PROCESS_NAME ||':'||
PRA.INSTANCE_LABEL PROCESS_ACTIVITY_LABEL
, STA.PROCESS_ACTIVITY INSTANCE_ID
, STA.ITEM_KEY ITEM_KEY, STA.ACTIVITY_RESULT_CODE, STA.ERROR_MESSAGE, STA.ACTIVITY_STATUS, STA.BEGIN_DATE, STA.*
FROM apps.WF_ITEM_ACTIVITY_STATUSES STA
, apps.WF_PROCESS_ACTIVITIES PRA
WHERE STA.ACTIVITY_STATUS = 'ERROR'
AND STA.PROCESS_ACTIVITY = PRA.INSTANCE_ID
AND STA.ITEM_TYPE = 'DA_APP_5'--ITEM_TYPE_SELECTED
--AND STA.PROCESS_ACTIVITY = ERRANT_INSTANCE_ID
Comments
Post a Comment