2022.2

Table Of Contents
l
Create a process that retrieves dynamic data from a data file. Once a sample data file is avail-
able, you can use it to make data selections in a process (see "Data selections" on page48).
l
Debug a process (see "Debugging your PReS Workflow process" on page88).
Choosing a sample file sets the process's emulation to the chosen format (see "About data emulation"
on page54). The only other way to change a process's emulation is by inserting a "Change Emulation"
on page360 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 page48).
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 PReS Workflow process, the sample data you are going to use has to cor-
respond 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 pro-
cess. 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 PReS 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710).
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:
1. Expand the relevant resource files folder (Connect Resources or PPS/PSM Documents) by click-
ing the button.
2. Expand the file by clicking the button.
Page 63