Useful Workflow Scripts: Author - A.Kishore/Sachin
Useful Workflow Scripts: Author - A.Kishore/Sachin
Kishore/Sachin
http://appsdba.info
1. FNDWFPR
Navigate to the Submit Requests form in Oracle Applications to submit the Purge
Obsolete Workflow Runtime data concurrent program.
We can provide the below parameters for the ”Purge Obsolete Workflow Runtime
Data” concurrent program:
2. wfbkgchk.sql
3. wfdirchk.sql
wfdirchk.sql is used to check for the following conditions in our directory service data
model:
o Invalid internal names that contain the characters ’#’, ’:’,or ’/’ in WF_USERS.
1
Author – A.Kishore/Sachin
http://appsdba.info
o Invalid internal names in WF_ROLES that contain the characters ’#’ or ’/’ or have
a length greater than 30 characters.
Please Note : wfdirchk.sql should return no rows to ensure that our directory service
data model is correct.
4. wfntfsh.sql
2
Author – A.Kishore/Sachin
http://appsdba.info
5. wfrefchk.sql
wfrefchk.sql is used to check for invalid workflow data that is missing primary key data
for a foreign key.
6. wfretry.sql
wfretry.sql is used to display a list of activities that have encountered an error for a
given process instance and then specify whether to skip,retry, or reset any one of
errored activities.
Provide an item type and item key to uniquely identify an item or process instance.
The script first returns the list of errored activities by label name. The script then
prompts for the label name of an activity that we wish to skip, retry, or reset. If we
choose skip, then we need to specify the result that we want the skipped activity to
have.
7. wfstat.sql
wfstat.sql is used to display a developer status report for an indicated item. The
output is 132 characters per line.
8. wfstatus.sql
wfstatus.sql is used to display an end user status report for an indicated item. The
output is 132 characters per line.
3
Author – A.Kishore/Sachin
http://appsdba.info
9. wfstdchk.sql
wfstdchk.sql is used to check and report any problems found in the Oracle Workflow
data model. For example, this script will report any function activities that reference
invalid functions and scan the tables of each workflow process definition object to
verify that each row has a valid internal name and display name.
10. wfver.sql
wfver.sql is used to display the version of the Oracle Workflow server, the status and
version of the Oracle Workflow PL/SQL packages, and the version of the Oracle
Workflow views installed.
11. wfverchk.sql
We will use wfverchk.sql script if we suspect that problems arising in your workflow
process are due to multiple versions of an activity being active simultaneously. This
script identifies errors in versions of activities that cause multiple versions to appear to
be active at once.
12. wfverupd.sql
wfverupd.sql is used to correct problems arising in your workflow process that are due
to multiple versions of an activity being active simultaneously. This script identifies
and corrects errors in versions of activities that cause multiple versions to appear to
be active at once.