2021.2

Table Of Contents
l
Barcode_1_Left: Metadata field providing the distance (in pixels) from the left of the page
to the left side part of the first barcode.
l
Barcode_1_Right: Metadata field providing the distance (in pixels) from the left of the
page to the right side part of the first barcode.
Accessing a barcode value from the Workflow tool
One method to access a barcode value from the Workflow configuration tool is to use a
VBScript with the Open Script task, using the Watch.ExpandString command with a Metadata
command as its input parameter, in between double quotes. For example, the following script
line gives the value of the first BarcodeValue Metadata field of the first datapage:
watch.expandstring("GetMeta(BarcodeValue[0],0,Job.Group[0].Document[0].Datapage[0])")
Another method is to use a Set Job Infos and Variables task to copy a Metadata field into a
Workflow variable.
Limitations
l
Some barcodes created with PlanetPress 5 could not be read by the Barcode Scan task,
so please use PlanetPress version 6 or 7 to create barcoded documents.
l When using a secondary input, a known issue of the Workflow Tool can cause some
unexpected behavior, like having the same Metadata file reused instead of a new one
being created for each data file captured. To work around this issue, simply add a
Rename action task to set a unique file name (Ex. %u) to each new file before the
Barcode Scan task, after each secondary input.
Change Emulation
Change Emulation action tasks are used to tell the tasks that follow them to use a different
emulation to format the data they receive (see: "About data emulation" on page60). These
tasks do not perform any operation as such on the data, but rather they modify the way
subsequent tasks process the data they receive.
Change Emulation action tasks are typically used when a secondary input task brings new
data that is not structured like the initial data into the process. By default, every task included in
a process uses the emulation associated with the sample data file to structure the data before
processing it. Any task that must use a different emulation must be preceded by a Change
Page 392