2022.2

Table Of Contents
l
"Run Script" on page428
l
"SNMP Condition" on page431
l
"Text Condition" on page433
l
"Time of Day Condition" on page434
Adding a branch or condition
The PlanetPress Workflow Configuration program offers two different commands when it comes to
adding new branches to a process.
l
You can add a new branch by dragging and dropping a Branch task or one of the Condition tasks
from the Process Logic category of the Plug-in Bar, into your process. Branches as well as con-
ditions can thus be added like a task; see "Adding tasks" on page287.
l
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....
The default output task of a new branch or condition is configurable in the "Default configuration beha-
vior preferences" on page641.
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.
If any task converted into a subprocess was previously using local variables, these variables must be
removed or transferred to global variables or Job Information variables to be usable in the newly cre-
ated subprocess (see "About variables" on page238).
Page 116