2020.2

Table Of Contents
Choosing a sample file sets the process's emulation to the chosen format (see "About data
emulation" on page59). The only other way to change a process's emulation is by inserting a
"Change Emulation" on page385 task in it.
Changing the emulation is particularly important if you want to make a data selection in a file
after it has been converted to another format or when the job file has changed (see "Data
selections" on page52). To interpret a sample data file correctly, a process must have the
corresponding emulation setting.
Note
Even during debugging, selecting a sample data file with a different format will cause the
emulation of a process to change. In order to avoid errors, change the emulation back to
the format of the original input file before using the process again.
Choosing a sample data file
In order to create your PlanetPress Workflow process, the sample data you are going to use
has to correspond precisely to the job files that will be treated by that process, at least in terms
of structure.
The sample data file should have a relatively small number of records (generally less than a
hundred) in order to be processed quickly, while your actual data may be much larger and take
more time to process. The sample data file should also contain at least one of every exception
you may want to detect, or data used for a specific condition. For example, if you wanted to filter
out any data for clients in Canada, you would want to use a data file that has at least one client
from Canada, to test whether your process filters it out correctly.
To choose a sample data file:
1.
Click the Debug tab in the PlanetPress Workflow Ribbon.
2.
Click on Select in the Data group.
3.
Use the Data Selector to choose your sample data file and emulation options (see "The
Data Selector" on page842).
4.
Click OK on the Data Selector.
Alternatively, if a resource file available in the configuration contains the necessary data file, it
can be attached to the process easily:
Page 70