8.18.32016-03-14

Debugging your PlanetPress Suite Process

Debugging a process is separated in two parts. The first part is designing the process, which is to add the different tasks, branches and conditions to the process and configuring them. The second step is testing whether or not the process and configuration actually work.

Before debugging begins, the following prerequisites must be completed:

When debugging your process, it is important to keep in mind that:

The sample job file should generally be the exact same format as the data that you will receive when PlanetPress Workflow is processing the job at runtime. For more information on how to capture your sample data file properly, please refer to the PlanetPress Trigger and Data Capture Guide.

Debugging can be run in different ways:

While stepping through a process (using Step, not Run):

Debugging and Emulation changes

One of the most useful case where debuggging is crucial is whenever the job file is converted to another type of emulation, or if a new data file of a different emulation is used within the process. For example, if a process starts with a Line Printer data file and the converts it into a PDF, it is not possible to do any data selection on the PDF because the Line Printer emulation is active by default. The debugging features can easily resolve this limitation.

The first method is used if your process has all the required tasks, but data selections after an emulation change are necessary.

This method does not allow you to add, remove or move tasks, however. The second method can be used when that is required.

Lastly, PlanetPress Suite 7.4 and higher also has a new option that can be used in conjunction with the previous to avoid skipping through large processes:

Once you have created and fully debugged all your processes, you will be ready to send it to PlanetPress Workflow service. See Saving and Sending a Configuration.