8.4

l
OAPActionName String containing the name of the Input SOAP task’s action name.
The Watch Object
PlanetPress Workflow scripting offers a number of methods of communicating with your process by means
of PlanetPress 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 VBScript.
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 VBScript, you can click on any variable name to open a
page to see examples for each supported language.
Variable Name Description
Example Usage (VBScript)
"Watch.GetJobFileName" on
page 94
Retrieves a string containing the job path and file name located in
the job spool folder.
Example Usage: str = Watch.getjobfilename
"Watch.GetOriginalFileName" on
page 95
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.
Example Usage: str = Watch.getoriginalfilename
"Watch.GetMetadataFilename"
on page 95
Retrieves a string containing the job's metadata path and filename.
This is useful when using the Metadata API in your script.