2020.1

Table Of Contents
Note
The SubmitJob method only returns a file if the PReS Workflow process contains a
SOAP Input task.
Note
If ReturnJobFile is set to true, the schedule options of the process should be set to a
pooling lower than four seconds, so the client application gets a timely response.
Note
To return the file, the process must be completed before the timeout of the server occurs.
The Timeout option can be set in your PReS Workflow preferences.
SubmitJobInfStruc
Structure containing any required information to prepare the file for a valid insertion into a
PReS Workflow process using SOAP.
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
SOAPActionName: 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.
Page 156