Jump Examples Customizing Workflows
3. Click Edit in the Steps pane.
The Add NewEdit Step screen appears for the workflow type Criteria or Basic. 4. Click the Events tab.5. To delete a jump, click Clear in the corresponding event pane.
6. To change a jump, click Edit in the corresponding event pane.
The Edit Script for StepName Screen is displayed. 7. Select an editing option: ■ To edit the existing script, select Edit Current. ■ To create a new script, select Create New. ■ To use a script template, select Use Script Template and then select a template from the option list. The Script Properties Screen is displayed.8. Use the Add, Edit, and Delete buttons in the Jumps pane to change the jump side
effects.9. Use the Field, Operator, Value fields and Add and Update buttons in the Script
Clauses pane to change the conditional statements for the jumps.10. Use the Target Step option list to change the target step for the jump.
11. To change the automatically generated script, click the Custom tab, select the Custom Script Expression check box, and edit the code. 12. Test the script before saving it. See step 1 of Creating a Jump .13. Click OK to save the changes.
4.5.12 Jump Examples
The following examples describe how to set up different types of jumps. ■ Jump Example 1: Metadata Criteria Jump on page 4-34 ■ Jump Example 2: Time-dependent Jump on page 4-354.5.12.1 Jump Example 1: Metadata Criteria Jump
Perhaps you have a Criteria workflow called Marketing Brochures that is defined with the Marketing security group and the MktBrochure content type. However, any brochures submitted by a graphic artist do not need to go through the first step, which is graphics department approval. You would use the Edit Script screen to create the following entry event script for the first step. if dDocAuthor like bjones or dDocAuthor like sjames wfSetwfJumpName, BypassGraphics Caution: If you clear the Custom Script Expression check box, the expression reverts to its original definition; all modifications will be lost. Managing Workflows 4-35 wfSetwfJumpTargetStep, wfCurrentStep1 wfSetwfJumpEntryNotifyOff, 0 endif To change the automatically generated conditional statement from and to or, you would need to edit the script on the Custom tab of the Edit Script screen.4.5.12.2 Jump Example 2: Time-dependent Jump
Suppose you want to limit the review period to one week. If the revision has not been approved or rejected, you want to notify the reviewers and process the revision through a sub-workflow called ApprovalPeriodExpired. You would use the Edit Script screen to create the following update event script: if parseDatewfCurrentGetlastEntryTs dateCurrent-7 wfSetwfJumpName, LateApproval wfSetwfJumpTargetStep, NotifyAuthorApprovalPeriodExpired wfSetwfJumpMessage, The review period for content item evaldDocTitle has expired. wfSetwfJumpReturnStep, wfCurrentStep0 wfSetwfJumpEntryNotifyOff, 0 endif4.5.12.3 Jump Errors
There are two possible responses to a jump error: ■ An event script that causes an error in execution is treated as if it had never been evaluated. However, the default entry script that keeps track of the entry count and last entry is still evaluated. ■ A jump to an invalid step or a step in an inactive workflow results in an error, and the revision is treated as if it has completed the last step of the workflow.4.6 Workflow And Script Templates
Workflow templates are a quick way to re-use workflows that you’ve already created. Each workflow template is an outline for a Basic, Criteria, or sub-workflow that is stored in the Workflow Admin tool. A workflow template is not tied to a security group, and it cannot include step event scripts. This chapter contains the following topics: ■ Creating Templates and Scripts on page 4-36 ■ Creating a Workflow Template on page 4-36 ■ Changing a Workflow Template on page 4-36 ■ Deleting a Workflow Template on page 4-37 ■ Creating a Script Template on page 4-37 Important: When you use a workflow template, you must change the reviewers if they are different from those defined in the selected template.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