2018.1
Table Of Contents
- Table of Contents
 - Welcome to PReS Workflow 2018.1
 - Installation and setup
 - Basics
 - Features
- About Workflow Configurations
 - Workflow Configuration resource files
 - About data
 - Data Repository
 - Debugging and error handling
 - About printing
- OL Connect print jobs
 - PlanetPress Suite print jobs
 - PReS Workflow printer queues
 - Shared printer queue properties
 - Windows Output printer queue
 - LPR Output Printer Queue
 - FTP Output Printer Queue
 - Send to Folder printer queue
 - Triggers
 - Load balancing
 - Objectif Lune Printer Driver (PS)
 - Associating PlanetPress Design documents and PReS printer queues
 
 - About processes and subprocesses
 - Using Scripts
 - Special workflow types
 - About Tasks
 - About variables
 - Workflow add-ons
 - About related programs and services
 
 - The Interface
- Customizing the Workspace
 - PReS Workflow Button
 - Configuration Components pane
- Components Area Sections
 - Process properties
 - PlanetPress Design document properties
 - Using the Clipboard and Drag & Drop
 - Renaming objects in the Configuration Components Pane
 - Reordering objects in the Configuration Components pane
 - Grouping Configuration Components
 - Expanding and collapsing categories and groups in the Configuration Component...
 - Delete objects and groups from the Configuration Components pane
 
 - Other Dialogs
 - The Debug Information pane
 - The Message Area Pane
 - The Object Inspector Pane
 - The Plug-in Bar
 - Preferences
- Other Preferences and Settings
 - General appearance preferences
 - Object Inspector appearance preferences
 - Configuration Components Pane appearance preferences
 - Default Configuration behavior preferences
 - Notification Messages behavior preferences
 - Sample Data behavior preferences
 - Network behavior preferences
 - PlanetPress Capture preferences
 - OL Connect preferences
 - PDF text extraction tolerance factors
 - General and logging preferences
 - Messenger plugin preferences
 - HTTP Server Input 1 plugin preferences
 - HTTP Server Input 2 plugin preferences
 - LPD Input plugin preferences
 - Serial Input plugin preferences
 - Telnet Input plugin preferences
 - PReS Fax plugin preferences
 - FTP Output Service preferences
 - PReS Image preferences
 - LPR Output preferences
 - PrintShop Web Connect Service preferences
 - Editor Options
 
 - The Process area
- Zoom in or out within Process Area
 - Adding Branches
 - Replacing tasks, conditions or branches
 - Removing tasks or branches
 - Task Properties dialog
 - Cutting, copying and pasting tasks and branches
 - Moving a task or branch using drag-and-drop
 - Disabling tasks and branches
 - Resize rows and columns of the Process Area
 - Selecting a resource file in task properties
 - Highlight a task or branch
 - Undo a command
 - Redo a command
 
 - The Quick Access Toolbar
 - The PReS Workflow Ribbon
 - The Task Comments Pane
 
 - Additional Information
 - Copyright Information
 - Legal Notices and Acknowledgments
 
Examples
Basic examples
In each of these examples, the object repoObject is deemed having been obtained through a
call to the COM object "RepositoryLib.WorkflowRepository" (see "Obtaining an instance of the
Repository Object" on page153).
JavaScript
repoObject.GetKeySets("Users", '["FirstName","LastName"]',
"Gender='M'");
VB Script
myKeySet = repoObject.GetKeySets("Users", "
[""FirstName"",""LastName""]", "Gender='M'")
Querying a single row
This JavaScript example shows how to get one or more rows from the repository and use them
in the process. The script gets 3 fields ("firstname", "lastname" and "email") from the
CustomerID field. It assumes there's a local variable called %{CustomerID} set in the workflow
process.
var CustomerID = Watch.GetVariable("CustomerID");
var repoObject = new ActiveXObject
("RepositoryLib.WorkflowRepository");
var customer = repoObject.GetKeySets("customers",'
["firstname","lastname", "customerID"]',"customerID = '" +
CustomerID + "'");
Watch.SetJobInfo(9,customer);
By replacing the last option from GetKeySets (the filter on CustomerID) with an asterisk, you
can get all the rows from the data repository.
Return value: JSONStringArray
The method returns a JSONStringArray of key-value pairs, for example:
'[{"FirstName": "John","LastName": "Smith"},{"FirstName":
"Richard", "LastName": "Doe"}]'
Page 163










