Learn the basics of configuring a Pattern Match Value Extractor.
Steps
1
Click the arrow to begin.
2
Click right arrow to continue.
3
Take a look at one of the documents in your Batch.
4
The invoice number on each document is different. However, each invoice follows the same format. Two numbers, followed by a dash, followed by four numbers.
5
We can configure a Pattern Match Value Extractor to return any number that matches the Invoice Number format.
6
In your node tree, go into your Projects folder. Open your Project and expand out your Content Model. Finally, open your Data Model and select the Data Field where you want to set a Pattern Match Extractor.
7
Click the hamburger icon to the right of the Value Extractor Property.
8
Select "Pattern Match" from the drop down.
9
Click the ellipsis icon to the right of the Value Extractor property.
10
In the Value Extractor pop up window, you will write your pattern in the Value Pattern area.
11
The Document Viewer panel will show you a preview of the selected document.
12
For a Pattern Match Extractor, you can use Regular Expression (RegEx) to match patterns on the document. Here we are looking for 2 digits, followed by a hyphen, followed by four digits.
13
The invoice number on the document is highlighted in green. This means that this result is being returned.
14
When satisfied with the returned results, click OK.
15
Click the save icon to save your changes.
16
Click over to the Tester tab.
17
Select a document in your Batch Viewer and then click the test icon to test your Extractor. You should see the extracted value on the right.