8.4
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Workflow 8.4.1
- Basics
- Features
- The Nature of PlanetPress Workflow
- About Branches and Conditions
- Configuration Components
- Connect Resources
- About Data
- About Documents
- Debugging and Error Handling
- The Plug-in Bar
- About Printing
- About Processes and Subprocesses
- Using Scripts
- Special Workflow Types
- About Tasks
- Task Properties
- Working With Variables
- About Configurations
- About Related Programs and Services
- The Interface
- Copyright Information
- Legal Notices and Acknowledgements
l If the selected option is process by page, then the metadata file is created and overwritten for each
new scanned page.
l If the selected option is process by file, thenonly one metadata file will be created(or updated).
Note: If metadata was created previously in the process, the task only adds new fields to the existing
metadata at the datapage level.
Metadata Fields
The barcode valuesare stored at the datapage level of the metadata. In the following defintions, the first 2
metadata fields are for standard use,while the next 8 fields contain '_1_' in their name. This number
represents the barcode index on the page. If there is more than one barcode on the same page, these
metadata fields will be defined as many times as there are barcodes on the page, except that the middle
number (..._X_...) will increment according to the barcode index (e.g. Barcode_2_Value, Barcode_3_Value,
etc.).
l BarcodeValue: Metadata field representing the value of the barcode. When multiple barcodes are
present on the page, this field is present multiple times.
l BarcodeCount: Metadata field representing the number of barcodes on the page.
l Barcode_1_Value: Metadata field representing the value of the first barcode on the page.Note that
thisfield (Barcode_1_Value) contains the same value as the first occurrence of BarcodeValue.
l BarcodeBase64_1_Value: Metadata fieldcontaining the value of the first barcode, encoded in Base64.
l Barcode_1_Type: Metadata fieldcontaining the type of the first barcode (ex. EAN13, UPCA …).
l Barcode_1_Orientation: Metadata fieldcontaining the orientation of the first barcode.
l Barcode_1_Top: Metadata fieldproviding the distance (in pixels)from the top of the page to the top of
the first barcode.
l Barcode_1_Bottom: Metadata fieldproviding the distance (in pixels) from the top of the page to the
bottom of the first barcode.
l Barcode_1_Left: Metadata fieldproviding the distance (in pixels) from the left of the page to the left side
part of the first barcode.
l Barcode_1_Right: Metadata fieldproviding the distance (in pixels) from the left of the page to the right
side part of the first barcode.
Accessing Barcode Value From a Workflow Tool
One method is to use a VBScriptwith 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])")