8.4
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Workflow 8.4.1
- 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
- Working With Variables
- About Configurations
- About Related Programs and Services
- The Interface
- Copyright Information
- Legal Notices and Acknowledgements
While renaming a variable will correctly rename all references to it in task properties or wherever else it is
used in a task, it will not change the references in any script within a Run Script task. Deleting a variable, on
the other hand, does not delete any reference to it. In both the case where a script refers to a variable and it
is renamed, or in the case of deleting a variable, any task or script that refers to it will cease to function and
will generate an error.
You can set the value of a variable within your process in two ways:
l Use the Set Job Info and Variable action task. See "Set Job Infos and Variables" on page 265.
l You can use Scripts. See the chapter "Using Scripts" on page 77.
Variables may be used as variable properties in variable property boxes (see Variable Properties).
Manipulate Global Variables
Note
For information about Local Variables see Local Variables.
Global Variables are set at the level of the configuration file and are shared between all processes and
tasks. Global variables can be used anywhere that accepts variables by using it's name preceded by
"global."๎and surrounded by curly brackets (for example:๎%{global.myGlobalVariable}).
Global variables are generally used to keep information that applies to multiple locations but need to be
changed easily. For example, a lot of uses use them to set a server's IP, a printer name, or folder location
that is used by multiple processes. This is useful when moving the configuration file to another installation of
the Workflow Tools where this information is different, or to quickly modify specific information if something
changes on the server. You can have as many global variable as you want in any given configuration.
To add a global variable from the Configuration Components pane:
1. Right-Click on Global Variables
2. Click Insert, then Insert Global Variable.
The new variable will appear as GlobalVar or GlobalVarX (the name is automatically
incremented).