7.1

Table Of Contents
l VariableList Array of complex type, containing pairs of variable names and variables value. The list also contains
the JobInfo variables.
l VariableName String
l VariableValue String
l ProcessName String - Name of the PlanetPress Suite process.
l TaskIndex Integer - 1 based index of the task where the resubmission should start.
l FirstPage Integer - First page of data to process.
l LastPage Integer - Last page of data to process.
Note: If both FirstPage and LastPage are set to 0, the entire data file is used.
SOAP API - SubmitJobInfStruc
SubmitJobInfStruc
Structure containing any required information to prepare the file for a valid insertion into a PlanetPress Suite process.
l VariableList Array of complex type, containing pairs of variable name and variable value. The list also contains the
JobInfo variables
l VariableName String
l VariableValue String
l OAPActionName String containing the name of the SOAP input task’s action name.
The Watch Object
The PlanetPress Suite Workflow Tools scripting offers a number of methods of communicating with your process by means of
the PlanetPress Suite Workflow Tools automation object's methods and functions. The automation object is available in all 4
languages through their own syntax - the examples provided here are for VBScript.
While the functions here are in mixed case to simplify reading, it's important to note that some languages (especially
Javascript)are case-sensitive and will require the proper case. This case is Watch.functionname , where Watch is
always with an uppercase W, and when the function name is always in lowercase.
Here is a list of the methods and functions that are available to you through the automation object (or "Watch" object). While
these examples are all in VBScript, you can click on any variable name to open a page to see examples for each supported lan-
guage.
Variable Name Description
Example Usage (VBScript)
"Watch.GetJobFileName" (page
208)
Retrieves a string containing the job path and filename located in the job spool folder.
Example Usage: str = Watch.getjobfilename
"Watch.GetOriginalFileName"
(page 208)
Retrieves a string containing the job's original path and filename. Note: this filename is gen-
erally no longer available if it has been captured by Watch.
Example Usage: str = Watch.getoriginalfilename
"Watch.GetMetadataFilename"
(page 208)
Retrieves a string containing the job's metadata path and filename. This is useful when
using the Metadata API in your script.
Example Usage: str = Watch.getmetadatafilename
Using Scripts
©2010 Objectif Lune Inc - 205 -