{"id":292,"date":"2008-01-20T21:43:47","date_gmt":"2008-01-21T01:43:47","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/"},"modified":"2008-01-21T00:17:15","modified_gmt":"2008-01-21T04:17:15","slug":"collection-of-workflow-administration-scripts-andor-concurrent-program","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/","title":{"rendered":"Collection of Workflow Administration Scripts and\/or Concurrent Program"},"content":{"rendered":"<p>Workflow Scripts: Source Oracle Documentations<\/p>\n<p>The below are the collection of Workflow Administration Scripts and\/or Concurrent Program.<\/p>\n<p>1. <strong>FNDWFPR<\/strong><\/p>\n<p align=\"left\">For Oracle Workflow embedded in Oracle Applications, use the standard concurrent program FNDWFPR \u201d<strong>Purge Obsolete Workflow Runtime Data<\/strong>\u201d 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.<\/p>\n<p>You can supply the following parameters for the \u201dPurge Obsolete Workflow Runtime Data\u201d concurrent program:<\/p>\n<p>Item Type \u2014 The item type to purge. Leaving this field blank defaults to purging the runtime data for all item types.<\/p>\n<p>Item Key \u2014 The item key to purge. Leaving this field blank defaults to purging the runtime data for all item keys.<\/p>\n<p>Age \u2014 Minimum age of data to purge, in days.&#8217;<\/p>\n<p>2. <strong>wfbkgchk.sql<\/strong><\/p>\n<p>Use wfbkgchk.sql to get a list of all activities waiting to be processed by the background engine the next time it runs.<\/p>\n<p>Usage : sqlplus &lt;user\/pwd&gt; @wfbkgchk<\/p>\n<p>3. <strong>wfdirchk.sql<\/strong><\/p>\n<p>Use wfdirchk.sql to check for the following conditions in your directory service data model:<\/p>\n<p>a. Invalid internal names that contain the characters \u2019#\u2019, \u2019:\u2019,<br \/>\nor \u2019\/\u2019 in WF_USERS.<\/p>\n<p>b. Invalid compound names in WF_USERS or WF_ROLES.<\/p>\n<p>c. Duplicate names in WF_USERS or WF_ROLES.<\/p>\n<p>d. Multiple names in WF_USERS or WF_ROLES linked to the same row in the original repository.<\/p>\n<p>e. Missing display names in WF_USERS or WF_ROLES.<\/p>\n<p>f. Invalid Notification Preference or null email address if the Notification Preference is MAILTEXT, MAILHTML, or SUMMARY in<br \/>\nWF_USERS or WF_ROLES.<\/p>\n<p>g. Invalid Status in WF_USERS.<\/p>\n<p>h. Rows in WF_USERS that do not have a corresponding row in WF_ROLES.<\/p>\n<p>i. Invalid internal names in WF_ROLES that contain the characters \u2019#\u2019 or \u2019\/\u2019 or have a length greater than 30 characters.<\/p>\n<p>j. Invalid user\/role foreign key in WF_USER_ROLES.<\/p>\n<p>k. Missing user\/role in WF_USER_ROLES (every user must participate in its own role).<\/p>\n<p>l. Duplicate rows in WF_USER_ROLES.<\/p>\n<p>wfdirchk.sql should return no rows to ensure that your directory service data model is correct.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfdirchk<\/p>\n<p>4. <strong>wfntfsh.sql<\/strong><\/p>\n<p>Use wfntfsh.sql to display status information about a particular notification, given its notification ID.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfntfsh &lt;notification_id&gt;<\/p>\n<p>5. <strong>wfrefchk.sql<\/strong><\/p>\n<p>Use wfrefchk.sql to check for invalid workflow data that is missing primary key data for a foreign key.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wferfchk<\/p>\n<p>6. <strong>wfretry.sql<\/strong><\/p>\n<p>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,<br \/>\nretry, or reset any one of those errored activities.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfretry &lt;item_type&gt; &lt;item_key&gt;<\/p>\n<p>Provide an item type and item key to uniquely identify an item or process instance. The script first returns the list of errored<br \/>\nactivities 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<br \/>\nchoose skip, then you must also specify the result that you want the skipped activity to have.<\/p>\n<p>7. <strong>wfstat.sql<\/strong><\/p>\n<p>Use wfstat.sql to display a developer status report for an indicated item. The output is 132 characters per line.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfstat &lt;item_type&gt; &lt;item_key&gt;<\/p>\n<p>8. <strong>wfstatus.sql<\/strong><\/p>\n<p>Use wfstatus.sql to display an end user status report for an indicated item. The output is 132 characters per line.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfstatus &lt;item_type&gt; &lt;item_key&gt;<\/p>\n<p>9. <strong>wfstdchk.sql<\/strong><\/p>\n<p>Use wfstdchk.sql to check and report any problems found in the Oracle Workflow data model. For example, this script will report any function<br \/>\nactivities that reference invalid functions and scan the tables of each workflow process definition object to verify that each row has a valid<br \/>\ninternal name and display name.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfstdchk<\/p>\n<p>10. <strong>wfver.sql<\/strong><\/p>\n<p>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<br \/>\nversion of the Oracle Workflow views installed.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfver<\/p>\n<p>11. <strong>wfverchk.sql<\/strong><\/p>\n<p>Use wfverchk.sql if you suspect that problems arising in your workflow process are due to multiple versions of an activity being active<br \/>\nsimultaneously. This script identifies errors in versions of activities that cause multiple versions to appear to be active at once.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfverchk<\/p>\n<p>12. <strong>wfverupd.sql<\/strong><\/p>\n<p>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.<\/p>\n<p>Usage:sqlplus &lt;user\/pwd&gt; @wfverupd<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Workflow Scripts: Source Oracle Documentations The below are the collection of Workflow Administration Scripts and\/or Concurrent Program. 1. FNDWFPR For [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[172,126],"tags":[174,474,471,173],"class_list":["post-292","post","type-post","status-publish","format-standard","hentry","category-scripts","category-workflow","tag-oracle-apps-workflow","tag-scripts","tag-workflow","tag-workflow-scripts"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Collection of Workflow Administration Scripts and\/or Concurrent Program -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Collection of Workflow Administration Scripts and\/or Concurrent Program -\" \/>\n<meta property=\"og:description\" content=\"Workflow Scripts: Source Oracle Documentations The below are the collection of Workflow Administration Scripts and\/or Concurrent Program. 1. FNDWFPR For [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/\" \/>\n<meta property=\"article:published_time\" content=\"2008-01-21T01:43:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2008-01-21T04:17:15+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/\",\"name\":\"Collection of Workflow Administration Scripts and\/or Concurrent Program -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2008-01-21T01:43:47+00:00\",\"dateModified\":\"2008-01-21T04:17:15+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Collection of Workflow Administration Scripts and\/or Concurrent Program\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Collection of Workflow Administration Scripts and\/or Concurrent Program -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/","og_locale":"en_US","og_type":"article","og_title":"Collection of Workflow Administration Scripts and\/or Concurrent Program -","og_description":"Workflow Scripts: Source Oracle Documentations The below are the collection of Workflow Administration Scripts and\/or Concurrent Program. 1. FNDWFPR For [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/","article_published_time":"2008-01-21T01:43:47+00:00","article_modified_time":"2008-01-21T04:17:15+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/","url":"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/","name":"Collection of Workflow Administration Scripts and\/or Concurrent Program -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2008-01-21T01:43:47+00:00","dateModified":"2008-01-21T04:17:15+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/01\/20\/collection-of-workflow-administration-scripts-andor-concurrent-program\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Collection of Workflow Administration Scripts and\/or Concurrent Program"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}