Run Capture Profile
The Run Capture Profile activity allows you to extract text or read barcode data from an image document using a capture profile. The capture profile contains zones that mark the regions of a document from which the capture profile extracts text. When the activity runs on a document, the activity extracts string values from the zoned regions and stores the values in output tokens.
Example: You want to use a capture profile to extract an employee’s name from a document. Then, you want to set an Employee’s Name field associated with the document using the employee’s name. To create this process, you add a Run Capture Profile activity to extract the employee’s name from the starting entry, and an Assign Field Values activity to change the document’s Employee Name field using the Run Capture Profile activity’s output token.
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 of the activity.
- In the Document property box, select the image document from which you want to extract text.
- In the Capture Profile property box:
- Select Single profile if you want to run a specific profile. Then, select the specific profile in the next drop-down menu, along with its version.
- Select Capture Profile Group if you want the activity to choose the best matched profile from a collection of selected profiles configured in the Capture Profile designer. Click Select capture profiles to select the capture profiles you want to use.
- Keep in mind the following tips when using capture profiles:
- The more anchored zones configured per capture profile, the more accurate Capture Profile groups will be. At least one anchored zone must be configured per capture profile in order for it to work properly.
- If you make a major version change to a capture profile, the Run Capture Profile activity will need to be updated to the newest major version. Otherwise, it will use the previous major version's most recent minor version.
- The Smart Invoice profile, Invoices, is not supported when using Capture Profile groups.
- If, when capturing data from a PDF, you are seeing different results when you run the profile in Workflow than you saw when testing the profile in the capture profile designer, replace the sample document in the capture profile designer with a TIFF file of the PDF's pages. To create a TIFF file to use in the capture profile designer, download the image generated from a PDF in the Laserfiche repository as a TIFF file and add that TIFF file as a sample document .
- Optional: Click Manage capture profiles to view all the capture profiles that you can see on process automation. Click Open selected capture profile to view and modify the capture profile you selected in this property box.
- Optional: In the Parameters section, define the token name and tag for each output token.
Tip: When a zone captures text, the resulting token will be multi-valued with a value for each line of text. When using this token, you can click to apply an index that selects a specific value or combines the lines of text.
Warning: Each time you run the Run Capture Profile activity (regardless of whether you’re using it for development, testing, or production), it may count against any plan limits you may have on Capture Profiles or Smart Invoice Capture. On the Account Administration page, click Plan to see your limits and current usage. If you want to test without counting against your limits, use the test UI in the capture profile designer.
Note: If your activity is displaying a "There is a new version..." warning, add a new Run Capture Profile activity to the canvas and configure using the same settings as the existing activity to upgrade, then delete the older activity.
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.