8.5
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Workflow 8.5
- System Requirements
- Basics
- Features
- The Nature of PlanetPress Workflow
- About Branches and Conditions
- Configuration Components
- Connect Resources
- About Data
- About Documents
- Debugging and Error Handling
- The Plug-in Bar
- About Printing
- About Processes and Subprocesses
- Using Scripts
- Special Workflow Types
- About Tasks
- Task Properties
- Variable Properties
- Working With Variables
- About Configurations
- About Related Programs and Services
- The Interface
- Copyright Information
- Legal Notices and Acknowledgements
Python
In Python, the raise statement is similar to JavaScript and will stop processing unless an except statement
is used. See the python documentation.
s = Watch.GetJobInfo(9)
if not s:
raise NameError('Value cannot be empty')
else:
# Do something with Job Info 9!
Watch.Log("Job Info 9's value is: " + s,5)
Perl
In PERL, die() raises an exception and triggers the On Error tab, unless the unless command is used. See
the perl documentation.
$s = $Watch->GetJobInfo(9);
if (s = "") {
die "Value cannot be empty";
} else {
# Do something with Job Info 9!
$Watch->Log("Job Info 9's value is: " . $s,4);
}
Data repository API
Introduction
The Data Repository is accessed via a COM object that exposes methods to store and retrieve data within
the Repository. All operations on the Repository must be performed through this API - rather than directly
accessing the physical file - since the Repository's underlying file media may change over time. Note that
this API is used by all stock tasks dealing with the Repository.
The table below lists the different levels in the repository and what their names corresponds to:
The term ... ... is the same as an Excel ...
... is the same as a Database ...
Group Sheet Table