About Jumps Customizing Workflows
4.5.7 About Jumps
Jumps enable you to customize workflows for your system, your content, and your users. A jump is usually a conditional statement, written in Idoc Script. Typical uses of jumps include: ■ Specifying more than one metadata field as the criteria for entering a workflow. ■ Taking action on content automatically after a certain amount of time has passed. ■ Defining different paths for files to move through the same workflow depending on metadata and user criteria. ■ Releasing a workflow document prior to approval by using the side effect: Release document from edit state. The following is an example of a jump that exits the workflow if the author is sysadmin: if dDocAuthor like sysadmin wfSetwfJumpName, Entry step wfSetwfJumpTargetStep, wfExit0, 0 wfSetwfJumpEntryNotifyOff, 0 endif In most cases, a jump will include a conditional statement. However, you can create a jump that consists of non-conditional code, such as the following: wfSetcustom_wf_variable, new_value wfSetwfJumpTargetStep, step_1 You can use this type of jump to execute code or move a revision to another step automatically.4.5.7.1 Jumps and Events
As mentioned in Events , each step in a workflow has an entry, update, and exit event. A script with one or more jumps can be defined for any or all of the events in a step. Any Idoc Script defined for an event is evaluated at a specific time that depends on the type of event: Managing Workflows 4-29 ■ An entry event script is evaluated upon entering the step. Every time a step is entered, a default script is evaluated in addition to any user-defined custom script. The default script keeps track of the number of times the step has been entered entryCount and the last time the step was entered lastEntryTs. If the entry event script does not result in a jump or exit, any users, aliases, and tokens are evaluated, and e-mail notifications are sent. ■ An update event script is evaluated and triggered by a state change of the content, such as the workflow update cycle, the update of the revisions metadata or approval or checkin of the revision. Extra exit conditions are evaluated each time the update event script is evaluated. ■ An exit event script is evaluated when a revision has completed the steps approval requirements and the steps extra exit conditions are met. By default, the workflow update cycle occurs hourly. This cycle time can be increased in increments of one hour using the WorkflowIntervalHours configuration setting, but cannot be reduced to less than one hour. To have update scripts evaluated more often or in response to other events, you could initiate a metadata update cycle without changing any metadata. Figure 4–4 Jumps and Events4.5.7.2 Rejected Content
Within a single workflow, when a reviewer rejects a revision the content item is routed back to the most recent contribution step. However, when a jump is made to a sub-workflow or other workflow and content is rejected there, different behavior occurs. The process returns to the parent workflow, not to the previous contribution step. Important: Update and exit event scripts of the current step are not run when a revision is rejected. Any code that is to be evaluated upon rejection must be located in the entry event script for the step that the rejected file is sent to. 4-30 Application Administrators Guide for Content Server4.5.7.3 Side Effects
Side effects are the actions that take place when a revision in a workflow step meets the jump condition. Side effects can include: ■ jumping to another step in the same workflow ■ jumping to a step in a sub-workflow or other Criteria workflow for Criteria workflows only ■ notifying users ■ exiting the workflow ■ setting state information in the companion file ■ releasing a workflow document prior to approval Side effects can be generated automatically by selections on the Script Properties Screen and AddEdit Jump Screen , and custom side effects can be specified in the Custom Effects field on the AddEdit Jump Screen .4.5.8 Jump Variables and Steps
Parts
» Oracle Fusion Middleware Online Documentation Library
» About Native File Conversion Identifying MIME Types
» About Custom Fields Managing Content Fields
» Changing the Default Sort Order of the Opening Query
» About Managed Links Managing Linked Content with Link Manager
» Configuring Link Manager Managing Linked Content with Link Manager
» Managing Links Managing Linked Content with Link Manager
» Link Manager Database Tables
» Link Manager Filters Managing Linked Content with Link Manager
» Site Studio Integration Managing Linked Content with Link Manager
» Click Go located next to the Abort refresh activity option. The refresh activity
» About DCLs and Metadata Schemas
» About Content Profiles Using Profiles to Customize Content Screens
» Content Profile Rules Using Profiles to Customize Content Screens
» Click OK. Oracle Fusion Middleware Online Documentation Library
» Select the Is global rule with priority check box. You can optionally change the
» On the Conditions tab, click Add. Click OK. Click OK. Click OK. Click OK.
» Workflow Overview Introduction to Workflows
» Workflow Steps Introduction to Workflows
» Workflow Step Evaluation Process
» Pre-design Questions Planning a Workflow
» Designing a Workflow Modifying Workflows
» Criteria Workflow Process Creating a Criteria Workflow
» Basic Workflow Process Creating a Basic Workflow
» Idoc Script Functions and Variables
» About Jumps Customizing Workflows
» Jump Variables and Steps Setting Up Jumps
» Jump Examples Customizing Workflows
» Scenario 1: Criteria Workflow Workflow Scenarios
» Scenario 2: Tokens Scenario 3: Jump Based on Metadata Scenario 4: Time-Dependent Jump
» Acquiring a Digital Signature Setting Up Parallel Workflows
» Adding Ad Hoc Step Users Customizing Criteria Workflow Emails
» Paste the following code into the entry event of your workflow step. Note that
» Other Customizations Workflow Tips and Tricks
» Searching Within a Workflow Step Suppressing Workflow Notifications
» Workflow Item Stuck in EDIT or GENWWW Status
» Workflow Item Entered in Wrong Workflow
» About PDF Watermark How PDF Watermark Works
» Folders Overview Usage Scenarios
» Folders Structure Naming Folders Folders Component Security
» Folder Metadata Inheritance Trash Bin Metadata Propagation
» Folder Content Item Revisions
» Folder Archiving Folder Searching URL-Mapped Folders
» About WebDAV What is WebDAV?
» WebDAV Clients WebDAV Architecture
» Preventing Folder Static Inheritance for Specific Metadata Fields
» Optimizing System Performance Click OK.
» Virtual Folders Configuring WebDAV
» Other Issues Click OK twice to save the settings and close the Internet Options screen.
» Adding Custom Viewers and Renderers
» Content Tracker Summary About Content Tracker Components and Functions
» Content Tracker Reports Summary Data Recording Overview
» Data Reduction Overview Data Reporting Overview Content Tracker Terminology
» General Limitations General Considerations
» Data Collection and Processing
» Data Collection Operational Overview
» Data Reduction Operational Overview
» Data Output Operational Overview
» Tracking Limitations Operational Overview
» Data Reduction Features Data Tracking Functions
» Activity Snapshots Data Tracking Functions
» Service Calls Data Tracking Functions
» Web Beacon Objects Data Tracking Functions
» Click the Snapshot tab. Click OK. Open the Content Tracker Administration page: Click OK.
» Oracle and DB2 Case Sensitivity Access Control Lists and Content Tracker Reports Secure Mode
» Pre-Defined Reports Report Generation
» Custom Reports External Report Generator
» User AuthenticationAuthorization and Auditing Site Studio Web Site Activity Reporting
» Security Checks and Query Results
» Accessing Drill Down Reports Accessing Reports from the Information Page
» Creating Custom Report Queries
» Creating Secure Report Queries Using an External Report Generator
» About the Service Call Configuration File
» About the Content Tracker Logging Service
» Managing Service Call Information
» Configuration Variables Configuration and Customization
» Activity Metrics SQL Queries
» Web Server Filter Debugging Support Java Code Debugging Support DataBinder Dump Facility
» Search Rules About Content Categorizer
» XML Conversion About Content Categorizer
» Configuration Variable Setting Up Content Categorizer
» Understanding Search Rules Search Rules
» Pattern Matching Search Rules
» Abstract Search Rules Search Rules
» Categorization Engine Search Rule Filetype Search Rule
» Translation Transformation Using XSLT Stylesheets
» SearchML Transformation XSLT Transformation
» Flexiondoc Transformation XSLT Transformation
Show more