- Getting started
- Administration
- RPA workflow projects
- Creating an RPA workflow from an idea
- Creating a project
- How to start an RPA workflow
- Managing project files and folders
- Connecting RPA workflows to your accounts
- Configuring activities
- Managing the activities in a project
- Passing values between activities
- Iterating through items
- Managing the data in a project
- Configuring a project to use your data
- Using file and folder resources
- Using UI Automation for browser interactions
- App projects
- Tests

Studio Web user guide
Common VB expressions for Validation Control
Getting the whole Extraction Result
To return the extraction result object, currently rendered by the control:
- Using the Validation Control element
MainPage.ValidationControl.ExtractionResultMainPage.ValidationControl.ExtractionResult - Using the Validation Control variable
AppVariable.VarValidationControl.ExtractionResultAppVariable.VarValidationControl.ExtractionResult
For example:
- Getting the field value by field name:
AppVariable.VarValidationControl_MainPage.ExtractionResult.GetFieldByFieldName("Invoice Number").Values(0).ValueAppVariable.VarValidationControl_MainPage.ExtractionResult.GetFieldByFieldName("Invoice Number").Values(0).Value - Getting the field value by field index:
AppVariable.VarValidationControl_MainPage.ExtractionResult.ResultsDocument.Fields(0).Values(0).ValueAppVariable.VarValidationControl_MainPage.ExtractionResult.ResultsDocument.Fields(0).Values(0).Value - Getting the list of all field names displayed in the Validation Control
AppVariable.VarValidationControl.ExtractionResult.GetFields().Select(Function(f) f.FieldName)AppVariable.VarValidationControl.ExtractionResult.GetFields().Select(Function(f) f.FieldName)
Here is the list of methods you can use to read data from ExtractionResult:
.GetDocumentType().GetField().GetFieldByFieldName().GetFields().GetFieldValidatorNotes().GetFieldValidatorNotesByFieldName().GetSimpleFieldValues().GetSimpleFieldValuesByFieldName().GetTable().GetTableByTableName().GetTableFieldValue().GetTableFieldValueByTableName().GetValueCount().GetValueCountByFieldName()
Getting the taxonomy used by the control
To inspect document types, fields, or display properties:
- Using the Validation Control element
MainPage.ValidationControl.TaxonomyMainPage.ValidationControl.Taxonomy - Using the Validation Control variable
AppVariable.VarValidationControl.TaxonomyAppVariable.VarValidationControl.Taxonomy
For example:
- Getting the list of fields in a taxonomy and save it as a source for a dropdown control:
AppVariable.VarValidationControl_MainPage.Taxonomy.GetFields(VarValidationControl_MainPage.SelectedDocumentType).ToListSourceAppVariable.VarValidationControl_MainPage.Taxonomy.GetFields(VarValidationControl_MainPage.SelectedDocumentType).ToListSource
Here is the list of methods you can use to read data from Taxonomy:
.GetFields()
Getting the selected document type, as String
To bind UI elements to the curently chosen document type:
- Using the Validation Control element
MainPage.ValidationControl.SelectedDocumentTypeMainPage.ValidationControl.SelectedDocumentType - Using the Validation Control variable
AppVariable.VarValidationControl.SelectedDocumentTypeAppVariable.VarValidationControl.SelectedDocumentType
Getting the selected field object
-
Using the Validation Control element
MainPage.ValidationControl.SelectedFieldMainPage.ValidationControl.SelectedField -
Using the Validation Control variable
AppVariable.VarValidationControl.SelectedFieldAppVariable.VarValidationControl.SelectedFieldYou can further access
SelectedFieldproperties, such as.Field.FieldName,.Field.FieldType, or.Field.ValidatorNotes.
For example:
-
Getting the selected field value:
AppVariable.VarValidationControl_MainPage.SelectedField.Field.FieldValueAppVariable.VarValidationControl_MainPage.SelectedField.Field.FieldValueYou can further access selected field value properties, such as
.FieldValue.Value,.FieldValue.Confidence,.FieldValue.OperatorConfirmed. -
Getting the selected field all values:
AppVariable.VarValidationControl_MainPage.SelectedField.Field.ValuesAppVariable.VarValidationControl_MainPage.SelectedField.Field.Values -
Getting the selected field first value:
AppVariable.VarValidationControl_MainPage.SelectedField.Field.Values(0).ValueAppVariable.VarValidationControl_MainPage.SelectedField.Field.Values(0).Value -
Getting the selected field data type:
AppVariable.VarValidationControl_MainPage.SelectedField.Field.FieldType.ToStringAppVariable.VarValidationControl_MainPage.SelectedField.Field.FieldType.ToString -
Getting the selected field index:
AppVariable.VarValidationControl_MainPage.SelectedField.FieldValueIndex.ToStringAppVariable.VarValidationControl_MainPage.SelectedField.FieldValueIndex.ToString
Getting the Validation Control properties
To read Validation Control properties:
- Using the Validation Control element
MainPage.ValidationControl.<PROPERTY NAME>MainPage.ValidationControl.<PROPERTY NAME> - Using the Validation Control variable
Controls.MainPage.ValidationControl.<PROPERTY NAME>Controls.MainPage.ValidationControl.<PROPERTY NAME>
Reading a field value from a table
- Reading field value from a table
AppVariable.VarValidationControl_MainPage.ExtractionResult.GetTableFieldValueByTableName(<TABLENAME>)(<COLUMN INDEX>)(<ROW INDEX>).ValueAppVariable.VarValidationControl_MainPage.ExtractionResult.GetTableFieldValueByTableName(<TABLENAME>)(<COLUMN INDEX>)(<ROW INDEX>).Value
For example:
AppVariable.VarValidationControl_MainPage.ExtractionResult.GetTableFieldValueByTable Name("Invoice Items")(0)(0).Value
AppVariable.VarValidationControl_MainPage.ExtractionResult.GetTableFieldValueByTable Name("Invoice Items")(0)(0).Value
Setting focus on a table cell
- Using the Set Variable Value activity with the following expression in the Set value field
AppVariable.VarValidationControl_MainPage.Field("Invoice Items").Field("Description", 0).SetFocusAppVariable.VarValidationControl_MainPage.Field("Invoice Items").Field("Description", 0).SetFocus