8.5

Working With Variables
A Variable is basically a keyword that points to specific location in your computer's memory. This location
contains data that you decide to place in it, by assigning that data to the variable name. This chapter will
help you learn about these variables and how you can use them.
Types of Variables
There are 3 types of variables that can be used in PReS Workflow:
l Global Variables are available by all processes and tasks within the configuration, and any
modification made to them affects all tasks and configurations. For more information see "Manipulate
Global Variables" on page573.
l Local Variables are specific to an instance of a process. That is to say, when a process changes the
information in a local variable, it changes it only for that process and only for that specific instance of
the process. For more information see "Manipulate Local Variables" on page571.
l Job Infos are also specific to an instance of a process, however their use is different. Just after an
initial or secondary input task, Job Infos contain information about the job file itself. Job Infos are also,
by default, accessible by PlanetPress Design documents used throughout your process. They are
generally used to gather information from the input task, or transfer information to your PlanetPress
Design document.
All the variables in PReS Workflow are considered strings, even if the information itself can be a number.
There are no other types of variables (such as arrays, floating point numerical values or Boolean) in PReS
Workflow.
Job Info Variables
Job Infos have two main uses. First, they contain information on any job file that comes out of the initial input
task or any secondary input tasks. The number of job infos as well as their definition can be seen in the
Other tab of any input task. Secondly, they are transmitted, unless otherwise configured, directly to any
PlanetPress Design document used within your process and can be directly accessed by that document, so
they can be used to transfer complementary information to your document that is not contained within your
data file.