• Find us:
    +1-669-900-5138   |   +44-203-372-5553
  • Free Newsletter

    Get Latest Updates

  • Make Training Enquiry


    Company

  • Categories

  • Archive

  • Collection of Workflow Administration Scripts and/or Concurrent Program

    Posted by "" in "scripts, workflow" on 2008-01-20

    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPin on PinterestEmail this to someone

    Workflow Scripts: Source Oracle Documentations

    The below are the collection of Workflow Administration Scripts and/or Concurrent Program.

    1. FNDWFPR

    For Oracle Workflow embedded in Oracle Applications, use the standard concurrent program FNDWFPR ”Purge Obsolete Workflow Runtime Data” to purge old data from the Oracle Workflow runtime tables regularly. Navigate to the Submit Requests form in Oracle Applications to submit the Purge Obsolete Workflow Runtime Data concurrent program. When you install and set up Oracle Applications and Oracle Workflow, your system administrator needs to add this concurrent program to a request security group for the responsibility that you want to run this program from.

    You can supply the following parameters for the ”Purge Obsolete Workflow Runtime Data” concurrent program:

    Item Type — The item type to purge. Leaving this field blank defaults to purging the runtime data for all item types.

    Item Key — The item key to purge. Leaving this field blank defaults to purging the runtime data for all item keys.

    Age — Minimum age of data to purge, in days.’

    2. wfbkgchk.sql

    Use wfbkgchk.sql to get a list of all activities waiting to be processed by the background engine the next time it runs.

    Usage : sqlplus <user/pwd> @wfbkgchk

    3. wfdirchk.sql

    Use wfdirchk.sql to check for the following conditions in your directory service data model:

    a. Invalid internal names that contain the characters ’#’, ’:’,
    or ’/’ in WF_USERS.

    b. Invalid compound names in WF_USERS or WF_ROLES.

    c. Duplicate names in WF_USERS or WF_ROLES.

    d. Multiple names in WF_USERS or WF_ROLES linked to the same row in the original repository.

    e. Missing display names in WF_USERS or WF_ROLES.

    f. Invalid Notification Preference or null email address if the Notification Preference is MAILTEXT, MAILHTML, or SUMMARY in
    WF_USERS or WF_ROLES.

    g. Invalid Status in WF_USERS.

    h. Rows in WF_USERS that do not have a corresponding row in WF_ROLES.

    i. Invalid internal names in WF_ROLES that contain the characters ’#’ or ’/’ or have a length greater than 30 characters.

    j. Invalid user/role foreign key in WF_USER_ROLES.

    k. Missing user/role in WF_USER_ROLES (every user must participate in its own role).

    l. Duplicate rows in WF_USER_ROLES.

    wfdirchk.sql should return no rows to ensure that your directory service data model is correct.

    Usage:sqlplus <user/pwd> @wfdirchk

    4. wfntfsh.sql

    Use wfntfsh.sql to display status information about a particular notification, given its notification ID.

    Usage:sqlplus <user/pwd> @wfntfsh <notification_id>

    5. wfrefchk.sql

    Use wfrefchk.sql to check for invalid workflow data that is missing primary key data for a foreign key.

    Usage:sqlplus <user/pwd> @wferfchk

    6. wfretry.sql

    Use wfretry.sql 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 those errored activities.

    Usage:sqlplus <user/pwd> @wfretry <item_type> <item_key>

    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 you for the label name of an activity that you wish to skip, retry, or reset. If you
    choose skip, then you must also specify the result that you want the skipped activity to have.

    7. wfstat.sql

    Use wfstat.sql to display a developer status report for an indicated item. The output is 132 characters per line.

    Usage:sqlplus <user/pwd> @wfstat <item_type> <item_key>

    8. wfstatus.sql

    Use wfstatus.sql to display an end user status report for an indicated item. The output is 132 characters per line.

    Usage:sqlplus <user/pwd> @wfstatus <item_type> <item_key>

    9. wfstdchk.sql

    Use wfstdchk.sql 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.

    Usage:sqlplus <user/pwd> @wfstdchk

    10. wfver.sql

    Use wfver.sql 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.

    Usage:sqlplus <user/pwd> @wfver

    11. wfverchk.sql

    Use wfverchk.sql if you 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.

    Usage:sqlplus <user/pwd> @wfverchk

    12. wfverupd.sql

    Use wfverupd.sql 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.

    Usage:sqlplus <user/pwd> @wfverupd

    5 Responses to “Collection of Workflow Administration Scripts and/or Concurrent Program”

    1. David Haimes says:

      Nice reference. If you don’t run the Purge program in 1. above you get all kinds of tablespace errors and unhappy users, as I found out to my cost!

    2. virendra says:

      how to tell an archived log has been applied in the standby, because we can’t purge an achived log unless it is transfered to the standby DB and applied.

      and please refer me some document address for oracle DATA GUARD

    3. Mike says:

      That was great Ramnik keep up the good work

    4. khaja says:

      hi atul
      why we are using workflow what happen if we don’t configure workflow?
      please tell me
      thank you,

    Leave a Reply



  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.
  • CONTACTS

    K21 Technologies
    8 Magnolia Place, Harrow,
    London, HA2 6DS

    UK: +44(0)7476444481
    USA: +1-888-414-1821

  • 2014, K21 Technologies. All rights reserved DMCA.com
  • TOP
    TOP