2022.2
Table Of Contents
- Welcome to PReS Workflow 2022.2
 - 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
 - Load balancing
 - Associating PlanetPress Design documents and PReS printer queues
 - Triggers
 - Objectif Lune Printer Driver (PS)
 
 - About processes and subprocesses
 - Using Scripts
- Run Script task
 - APIs
 - The Script Editor and XSLT Editor
 - SOAP Server API Reference
 - The Watch Object
 - Data Repository API
 - Metadata API
 - Attributes
 - Count
 - Fields
 - Index
 - NodeType
 - Parent
 - Selected
 - SelectedCount
 - SelectedState
 - Add(Integer Index)
 - AttributeByIndex(Integer Index)
 - AttributeByName(const String Name)
 - Clear()
 - Copy()
 - Cut()
 - DatapageCount()
 - Delete()
 - DocumentCount()
 - FieldByIndex(Integer Index)
 - FieldByName(const String Name)
 - FieldByNameIndex(const String Name, Integer Index)
 - IndexInDocument()
 - IndexInGroup()
 - IndexInJob()
 - Item(Integer Index)
 - PageCount()
 - Paste()
 - PasteAt(Integer Index)
 - Select(TSelectWhat SelectWhat)
 - SelectedDatapageCount()
 - SelectedDocumentCount()
 - SelectedIndexInDocument()
 - SelectedIndexInGroup()
 - SelectedIndexInJob()
 - SelectedPageCount()
 - Sort(const String Name, optional TSortFlags Flags, optional const String Name...
 - Parameters
 - Exceptions
 - Parameters
 - Exceptions
 - Parameters
 - Returns
 - Parameters
 - Exceptions
 - Parameters
 - Returns
 - Exceptions
 - Parameters
 - Returns
 - Parameters
 - Returns
 - Exceptions
 - Parameters
 - Returns
 - Exceptions
 - AlambicEdit API reference
 - Stopping execution
 
 - Special workflow types
 - About variables
 - Workflow add-ons
 - About related programs and services
 
 - About Tasks
- Adding tasks
 - Editing a task
 - Task properties
 - Masks
 - Selecting a resource file in task properties
 - Input tasks
- Initial Input tasks
 - Secondary Input tasks
 - Properties common to all input tasks
 - Available Input tasks
 - Create File
 - Email Input
 - File Count
 - Folder Capture
 - Folder Listing
 - FTP Input
 - HTTP Client Input
 - Input Error Bin
 - Input SOAP
 - LPD Input
 - Merge PDF Files
 - Microsoft 365 Email Input
 - Microsoft 365 OneDrive Input
 - NodeJS Server Input
 - PrintShop Web Connect
 - Secure Email Input
 - Serial Input
 - SFTP Input
 - SMTP Input
 - Telnet Input
 - WinQueue Input
 
 - Action tasks
- Add/Remove Text
 - Advanced Search and Replace
 - Barcode Scan
 - Change Emulation
 - Create PDF
 - Database Query
 - Decompress File(s)
 - Digital Action
 - External Program
 - Load External File
 - Logger
 - Mathematical Operations
 - Open XSLT
 - PDF/A-3 Attachments
 - Push to Repository
 - Rename
 - Run Script
 - Search and Replace
 - Send to Folder
 - Set Job Infos and Variables
 - SOAP Client plugin
 - Standard Filter
 - Translator
 - XML/JSON Conversion
 
 - Data splitters
 - Process logic tasks
 - Connector tasks
 - Metadata tasks
 - OL Connect Send
 - OL Connect tasks
- All In One
 - Create Email Content
 - Create Job
 - Create Output
 - Create PDF/VT
 - Create Preview PDF
 - Create Print Content
 - Create Web Content
 - Download EML Messages
 - Execute Data Mapping
 - File Store - Delete File
 - File Store - Download File
 - File Store - Upload File
 - Mark Connect Sets for Deletion
 - Merge Jobs
 - PDF to Bitmap
 - Render Email Content
 - Retrieve Items
 - Set Properties
 - Update Data Records
 
 - Output tasks
 - Document Management tasks
 - Email Services
 - Legacy tasks
 - Unknown tasks
 
 - 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 plugin preferences 1
 - HTTP Server Input plugin preferences 2
 - LPD Input plugin preferences
 - NodeJS Server Input plugin preferences 1
 - NodeJS Server Input plugin preferences 2
 - NodeJS Server Input plugin preferences 3
 - Serial Input plugin preferences
 - SMTP Input 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 user interface
- Customizing the Workspace
 - PReS Workflow Button
 - Configuration Components pane
- Components Area Sections
 - PlanetPress Design document properties
 - Moving and copying configuration components
 - 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...
 - Deleting something from the Configuration Components pane
 
 - Dialogs
- Access Manager
 - Access Manager hosts.allow File
 - Activate a printer
 - Advanced SQL Statement Dialog
 - Data Repository Manager
 - The Data Selector
 - Data Selector display preferences
 - The File Viewer
 - LaserFiche Repository Output Task - Configure Tags
 - LaserFiche Repository Output Task - Configure Templates
 - PDF Viewer
 - Printer utilities
 - Process properties
 - Rule Interface
 - The PReS Workflow Service Console
 - Task Properties dialog
 - Update document
 - Virtual Drive Manager
 
 - The Debug Information pane
 - The Message Area Pane
 - The Object Inspector pane
 - The Plug-in Bar
 - The Process area
- Cutting, copying and pasting tasks and branches
 - Highlight a task or branch
 - Disabling tasks and branches
 - Moving a task or branch using drag-and-drop
 - Redo a command
 - Removing tasks or branches
 - Replacing tasks, conditions or branches
 - Resize the rows and columns of the Process area
 - Collapse and expand branches and conditions
 - Undo a command
 - Zoom in or out within the Process Area
 
 - The Quick Access Toolbar
 - The PReS Workflow Ribbon
 - The Task Comments Pane
 - The PReS Workflow Service Console
 
 - Knowledge Base
 - Legal Notices and Acknowledgments
 
Variable Name
Description
Example Usage (VBScript)
"Watch.ExpandResourcePath"
on page132
Expands a Connect resource file name (e.g. invoice.OL-template) to its fully qualified path (e.g. C:\Pro-
gramData\Objectif Lune\PlanetPress Workflow\Documents\invoice.OL-template).
var fullPath = Watch.ExpandResourcePath("invoice.OL-template");
"Watch.ExpandString" on
page133
Retrieves the content of any Workflow string, containing any variable available to Watch, including data selections.
var watchDate = Watch.ExpandString("%y-%m-%d");
"Watch.GetConnectToken" on
page134
Uses the default Connect Server host as defined in the Workflow preferences to log into the Connect Server and
retrieve an authorization token.
var tokenConnect = Watch.GetConnectToken();
"Watch.GetConnectTokenEx"
on page135
Uses the arguments passed to it to log into the Connect Server and retrieve an authorization token.
var tokenConnect = Watch.GetConnectTokenEx("localhost", 1234, "myUser", "secret");
"Watch.GetJobFileName" on
page136
Retrieves a string containing the job path and file name located in the job spool folder.
var s = Watch.GetJobFilename();
"Watch.GetJobInfo" on page136
Retrieves the content of a numbered job info (%1 to %9).
var s = Watch.GetJobInfo(9);
"Watch.GetMetadataFilename"
on page137
Retrieves a string containing the job's metadata path and filename. This is useful when using the Metadata API in your
script. (See Metadata API.)
var s = Watch.GetMetadataFileName();
"Watch.GetOriginalFileName" on
page138
Retrieves a string containing the job's original path and filename. Note: this filename is generally no longer available if it has
been captured by Watch.
var s = Watch.GetOriginalFileName();
Watch.GetPDFEditObject
Is used to manipulate PDF files using the AlambicEdit API. The AlambicEdit library allows Workflow to access, create or
modify PDF files.
"Watch.GetPreferences" on
page138
Retrieves a specific type of Connect resources when it is passed a file extension (e.g. "OL-template") or all Connect
resources when it is passed an empty string.
dim JSONString
JSONString = Watch.GetPreferences();
"Watch.GetResources" on
page140
Retrieves a specific type of Connect resources when it is passed a file extension (e.g. "OL-template") or all Connect
resources when it is passed an empty string.
var allTemplates = Watch.GetResources("OL-template");
"Watch.GetVariable" on page141
Retrieves the content of a local or global variable by name.
var s = Watch.GetVariable("MyVariable");
"Watch.InstallResource" on
page141
Is used to copy or unpack resources, such as a Connect Designer template, Data Mapping Configuration, package file,
etc., from the supplied path to the Connect Documents folder.
Watch.InstallResource("c:\myfile.ol-package");
"Watch.Log" on page142
Writes to the Workflow log file, or the message window when in debug - can accept multiple log levels from 1 (red) to 4
(gray).
Watch.Log("Hello, World!", 3);
"Watch.SetJobInfo" on page143
Writes the value of a string to a numbered job info.
Watch.SetJobInfo(9, "Job info 9 Value");
"Watch.SetVariable" on page144
Writes the value of a string to a local or global variable by name.
Watch.SetVariable("MyVariable", "Hello World!");
Page 130










