2019.1

Table Of Contents
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.
SubmitJobInfStruc
Structure containing any required information to prepare the file for a valid insertion into a
PReS Workflow 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 Input SOAP task’s action name.
The Watch Object
PReS Workflow scripting offers a number of methods of communicating with your process by
means of PReS Workflow 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
JavaScript.
Note
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. Examples in this chapter will always use the proper case when relevant.
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 JavaScript, you can click on any
variable name to open a page to see examples for each supported language.
Page 150