Read Barcode
The Read Barcode activity captures barcode information from a single page of a repository entry, letting you use the captured information in your process. For example, you might need to capture barcodes on a page that are associated with a set of products at a store, and use the captured barcode data to populate a document's metadata. Note that this activity only reads barcodes from documents that have image pages, that is, it does not read from a PDF that does not have image pages. Learn about tokens this activity produces
To set up this activity:
- Drag the activity from the toolbox pane and drop it in the Designer pane.
- In the properties pane, type a name and description for the activity.
- In the Connection Profile property box, select the repository you want the activity to use.
- In the Read Barcodes From section, select the document from which the activity reads barcodes.
- In the Page section, add the page number you want to read barcodes from. You can only read barcodes from one page at a time. Click the Token button (right arrow) to add a token.
Example: You may want to capture barcodes that span more than one page of an entry and are in various locations on each page. You can read all the barcodes from the various pages using a Repeat activity. You can add the activity with a condition on the iteration token that the token must be less than or equal to the page count. Within the activity, you can place the Read Barcode activity and set the page to be the %(Repeat_Iteration) token.
- In the Barcode Options section, set up additional barcode options.
- Only include barcodes of type: When you select this option, you can choose to read from one of the supported barcode types. You might want to select this option when a page of a document contains multiple barcodes, but you want to find a specific type of barcode on the page. The option also helps to reduce the change of interpreting random markings and characters on the page as barcodes.
Note: You can select from the following types of barcodes: Code I25, Code 39, Code 128, Codabar, UPCA, EAN 8, Code 93, UPCE, EAN 13, EAN 2, EAN 5, PDF417, Databar, Patch Code, Datamatrix, and QR code.
Note: For barcodes that include checksum characters, the checksum characters will be returned as part of the barcode value. The checksum will not be run.
- Only include barcodes of type: When you select this option, you can choose to read from one of the supported barcode types. You might want to select this option when a page of a document contains multiple barcodes, but you want to find a specific type of barcode on the page. The option also helps to reduce the change of interpreting random markings and characters on the page as barcodes.
You may want to disable activities if you only want to test specific sections of your workflow. To disable activities:
- Select an activity in the designer pane to highlight it.
- In the Description property box, clear Enable.