2020.1

Table Of Contents
XML emulation options
l
Cache XML data: When this option is selected, PReS Workflow Server only reloads the
data if the size or modified date of the XML file changes. When this option is not selected,
the XML data will be reloaded into memory every time that a plugin works on the data file.
Caching the XML data will make subsequent tasks run faster (as loading an XML file can
take a long time) but will also use up more memory since that memory isn't released in
between tasks. For single runs the performance gain is less noticeable than in loops
(either through a splitter, a Loop task or a Metadata filter) where the XML file would be
loaded repeatedly.
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 PReS 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
page53).
l Debug a process (see "Debugging your PReS Workflow process" on page105).
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 page392 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53). 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
Page 70