Paste the following code into the entry event of your workflow step. Note that
4. Paste the following code into the entry event of your workflow step. Note that
comments are included through the entry code; remove the comments before inserting into your step: restartFlag=wfGetrestartStep See if we got here due to a restart for new backup users. If so, suppress notifications to old users and notify only new ones if restartFlag if toIntegerwfGetrestartStep=1 wfSetwfJumpEntryNotifyOff, 1 oooUsers=wfGetoutOfOfficeUsers if strIndexOfoooUsers,,=1 Check for multiple out of office users wfMessage=evalThe Following Users are out of the office: oooUsers \nYou are the designated backup for one of them.\n The content item dDocName is in the workflow step dwfStepName awaiting your review else wfMessage=evalThe Following User is out of the office: oooUsers \nYou are the designated backup for this user.\n The content item dDocName is in the workflow step dwfStepName awaiting your review endif rsMakeFromStringooou,oooUsers loop ooou userBackupName=row_Bkup wfNotifywfGetuserBackupName,user endloop wfSetrestartStep,0 endif else Managing Workflows 4-47 wfSetrestartStep,0 endif Set your step users here. Multiple users should be comma-separated, user names should be in quotes, metadata field references are unquoted. This example proceeds, using user names rather than aliases. Slight code re-working is required if using aliases. dynamicStepUsers= LIST USER NAMES IN QUOTES HERE if strIndexOfdynamicStepUsers,,=1 If there are multiple users specified check to see if any of the MULTIPLE users are out of the office rsMakeFromStringmultiDynamicUsers,dynamicStepUsers loop multiDynamicUsers if strEqualsgetValueForSpecifiedUserrow,uOutOfOffice,true If user is out of office, get their backup backup=getValueForSpecifiedUserrow,uOutOfOfficeBackup Replace out-of-office user in users list with their backup dynamicStepUsers=strReplacedynamicStepUsers,row,backup endif endloop else Check to see if the SINGLE user is out of the office if strEqualsgetValueForSpecifiedUserdynamicStepUsers,uOutOfOffice,true If user is out of office, get their backup dynamicStepUsers=getValueForSpecifiedUserdynamicStepUsers,uOutOfOfficeBacku p endif endif wfSetdsu,dynamicStepUsers Set the dsu variable into the companion file with listed and backup users5. Paste the following code into the update event of your workflow step, removing
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