2022.2

Table Of Contents
About branches and conditions
While some processes can simply start with an input task, manipulate the data with a few action tasks
and finish with an output task, in some cases you may want to have more control over the flow of your
process. For example, you may want multiple outputs, such as printing to multiple printers as well as
generating a PDF and emailing it. To do this, you will need branches. You may also want to detect cer-
tain criteria in your data and act differently depending on that data, such as sending an email only when
an email address is found, or printing to a different printer depending on who sent you a print job. To do
this, conditional branches ("conditions") are used.
For the list of operations you can perform on Branches and Conditions, please refer to "The Process
area" on page739.
Branches
A branch is effectively a doubling of your job file (see "Job file" on page47). As your job file goes down
the process, when a branch is encountered, a copy of the job file will go in that branch. In the branch, all
tasks up to the Output task will be performed, before returning to the main trunk to continue processes.
You can have branches within branches, and all branches must have an Output task. For more inform-
ation on branches, see "Branch" on page421.
A branch is represented as a crossing:
Conditions
A condition will either execute the branch it creates or the main trunk, but never both. As your job file
goes down the process, when it encounters a condition it will verify whether that condition results in a
"true" or "false" value. If the result is true, it goes in the branch, processes all tasks up to the output, and
the process finishes. If the result is false, it goes down the main trunk and continues processing until
the process finishes.
A conditional branch (or condition) is shown as a crossing with a diamond over it, for example:
There are several Condition tasks:
l
"File Name Condition" on page425
l
"File Size Condition" on page425
l
"File/Folder Condition" on page424
Page 115