2019.1

Table Of Contents
You can add a new branch, by dragging and dropping a branch, from the Process Logic
category of the Plug-in Bar, into your process. Branches can thus be added like a task; see
"Adding tasks" on page233.
You can add a new branch that contains all of the tasks below the point where you insert the
branch. To do this, right-click on the first task that you want to include in the branch, and select
Branch From Here.... An Unknown task will be created as an output below the branch.
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 red diamond over it .
Converting a branch to a subprocess
To allow for maximum flexibility and backward compatibility with the subprocess feature, the
Convert to subprocess option lets users transform existing processes easily. This option is
available whenever a Branch task is selected; right-clicking on it will display the contextual
menu, which holds the Convert to subprocess option.
Selecting this option automatically creates a new subprocess, takes the branch and all of its
tasks and inserts it in the new subprocess, including the Branch task itself. In the main process,
the branch is removed and replaced with a GoSub action task referring to the newly created
subprocess.
Note
The Branch task's options Backup job file, Backup job information and Backup emulation are also
automatically passed to the subprocess, which means that, if the subprocess needs to use a different
emulation than the calling process, a Change Emulation task is required.
Page 126