You are on page 1of 2

How to Run Workflow Data Collection Scripts for an Oracle Engineering Approval

Process Workflow for Debugging Purposes


Doc ID: 344092.1 Type: HOWTO
Modified Date : 10-MAR-2008 Status: PUBLISHED

In this Document
Goal
Solution
References

--------------------------------------------------------------------------------

@ (AuthWiz 2.5.3)
@ Click here to edit in wizard.

Applies to:
Oracle Engineering - Version: 11.5.3 to 11.5.10
Information in this document applies to any platform.
FORM:ENGFDECN.FMB - Define engineering change order

Goal
The goal of this document is to describe how to obtain and run data collection
scripts for troubleshooting issues related to the Engineering Change Order (ECO)
approval process workflows. Oracle Support may ask for these script outputs when
the ECO workflow process fails or exhibits other problems. The scripts are:

wfstatus.sql - Display Workflow Status Information

bde_wf_item.sql - Runtime Data of a Single Workflow Item


bde_wf_notif.sql - Output Workflow Related Data For a Single Notification
bde_wf_data.sql - Query Workflow Runtime Data That Is Eligible For Purging

Solution
Where to Get the Scripts

wfstatus.sql
Located in $FND_TOP/admin/sql (or $FND_TOP/sql)
Refer to Note 116375.1 for additional information.

bde_wf_item.sql
Refer to Note 187071.1 to download.
Detailed steps for running the script are provided in the note.
bde_wf_notif.sql
Refer to Note 239335.1 to download.
Detailed steps for running the script are provided in the note.
The script prompts for a "NOTIFICATION_ID". This can be obtained by running
bde_wf_item.sql first and examining the generated output.

bde_wf_data.sql
Refer to Note 165316.1 to download.
Detailed steps for running the script are provided in the note.
Script Parameters

Wfstatus.sql and bde_wf_item.sql require the following 2 input parameters. Finds


the parameter values as follows:

ITEM_KEY
Use the value returned by the following query. The query prompts for the the ECO
name. Enter the name of the ECO whose process has failed.
select e.change_notice, a.item_key, a.item_type
from wf_items a, eng_engineering_changes e
where item_key like e.change_notice||'-'||to_char(e.organization_id)||'%'
and e.change_notice = '&eco_name';The ITEM_KEY can also be found by viewing
the ECO's workflow activity history as follows:

Navigate: Engineering > ECOs > ECOs


Query the ECO in question.
Choose the Tools > View Approvals pull down menu option
Click the status button. View the Monitor Activities History form. The ITEM_KEY is
listed in the Activity History, (for example: ECO_APP, ECO-102-207-1).
ITEM_TYPE
Use the value ECO_APP
References
Note 116375.1 - Workflow How to Get Information Required to Run wfstatus/wfstat.sql
Note 165316.1 - bde_wf_data.sql - Query Workflow Runtime Data That Is Eligible For
Purging
Note 187071.1 - bde_wf_item.sql - Runtime Data of a Single Workflow Item
Note 239335.1 - bde_wf_notif.sql - Output Workflow Related Data For a Single
Notification

You might also like