2019.2

Table Of Contents
For information about XML emulation options in PlanetPress Design documents, see the
PlanetPress Design user guide.
Sample Data
This topic covers issues relating to the sample data used in your PlanetPress Workflow
configuration.
A sample data file makes it possible to:
l Create a process that retrieves dynamic data from a data file. Once a sample data file is
available, you can use it to make data selections in a process (see "Data selections" on
page54).
l Debug a process (see "Debugging your PlanetPress Workflow process" on page107).
Choosing a sample file sets the process's emulation to the chosen format (see "About data
emulation" on page60). The only other way to change a process's emulation is by inserting a
"Change Emulation" on page415 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54). 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
Page 71