Activity properties
Map fields to UiPath variables
Before you map
At runtime, the Extracted Data property must receive theExtractedData value from the DocumentResult that Get Results returned for the Document skill this Map Fields activity is configured for.
Before passing the data to Map Fields, complete these checks:
- Confirm the document’s Document skill matches the one configured in Map Fields. Use the
ClassNameproperty of theDocumentResultto identify the document type. - For
ClassNameto populate, configure class-to-skill mapping in the Extract activity of the Process skill. The class name must equal the Document skill name.
Map the fields
1
Set the credentials
On the Vantage Scope activity, set the Password or Client Secret property, depending on your authentication flow. This lets the connector retrieve the skill list. Once the workflow is configured, switch to the Secure Password or Secure Client Secret property. For more information, see Vantage Scope activity.
2
Load the available skills
Open the Map Fields activity in the Designer panel. Click the button to the right of the Skill Name drop-down list.
3
Select a Document skill
Expand the Skill Name drop-down list and select the Document skill whose extracted field values must be saved to UiPath variables.
You can only choose a Document skill.
4
Refresh the field tree
Click the Refresh button. A field tree appears in the Vantage Extracted Field column.
5
Map a field to a UiPath variable
Expand the tree and click the Plus button next to a field you want to map. In the UiPath Variable column, a UiPath variable name and type appear. By default the variable name matches the Vantage field name, but you can change it if required.

6
Map the remaining fields
Repeat the previous step for the other fields you need to map. You can specify already-existing UiPath variables. In that case, make sure the variable type matches the one recommended in the Field type mapping table.
7
Apply the mapping
After mapping your document fields to UiPath variables, click Apply to save the changes. When the Map Fields activity is called at runtime, variable values are filled in with the extracted data.
String variable. Selecting a Document skill from the drop-down writes the new value to the variable. Expressions and references to other variables are not supported.
Field type mapping
The following table shows what type of UiPath variable corresponds to each ABBYY Vantage field type:Repeating leaf fields (such as
Text) and table columns map to String[]. Repeatable groups, including those nested inside other repeatable groups, map to FieldList[]. Within a repeatable group, you can also map individual child fields to simple types.
GroupItem
GroupItem is a structure containing one instance of some repeating object (field or group of fields).
FieldList
FieldList is a structure that corresponds to a field or group of fields (repeating fields or repeating groups with the same name). It contains the values of those fields or groups, and multiple instances are possible.
For more information about the Group field type, see Group field.
