2022.2

Table Of Contents
Note: The sample job file should generally be the exact same format as the data that the process
will receive when PlanetPress Workflow is processing the job at run-time.
About the Debug mode
When debugging your process, it is important to keep in mind that:
l
The initial Input task is never executed. The sample data file is used instead of the initial run.
This is to prevent "live" data from being retrieved by the initial input task while debugging is being
done. If, however, the initial task is critical to the process, it can be executed by copying the initial
input task and pasting it as a secondary input task (the first Action task to actually run in the pro-
cess). Do not forget, however, to remove this duplicate task before saving the configuration!
l
If any task makes an operation on the system (for example, capturing files, sending data, print-
ing, etc), it is actually executed, not simulated.
l
Any task is executed with the permissions of the user that is currently running the PlanetPress
Workflow Configuration tool. When running in Service mode, the user configured in the Con-
figure Services dialog is used instead. If the credentials are different, a job that runs in debug
mode may fail at run-time if the permissions are not available to the Service. Please see "Work-
flow Services" on page285 for more details.
Running in Debug mode
Debugging can be run in different ways:
l
From the Debug tab, click on Run. This executes the complete process, step by step, until it is
completed.
l
From the Debug tab, click on Step. This executes only the first task in the process and waits for
further action. While stepping through a process (using Step, not Run), breakpoints may be used
and given steps may be passed, using the buttons on the Debug ribbon (see below).
l
Right-click on any task in the process and click Run from Here or Step from Here. These
actions are the same as using the debug Step and Run buttons, but will execute the process only
starting from that task forward.
Double-click on any task to change its properties. If you change the properties of a task before you step
through it, those new properties will be used when the task is executed. Note that you cannot modify
the process itself while in debug mode (you cannot add, delete or move tasks, change branches and
conditions, etc).
Look at the Messages Area pane to see any message generated by the tasks that run (See " The Mes-
sage Area Pane" on page735).
Page 90