- Release notes
- Getting started
- For administrators
- 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
- App projects
- Agentic processes
- Agents
- Solutions - Preview
- API workflows - Preview

Studio Web User Guide
Each Validation Control automatically creates a variable inside the app. This variable holds the document data and you can use it in other parts of your app or automation.
Var<ValidationControlName>_<PageName>
, for example VarValidationControl_MainPage
.
The Validation Control variable allows both reading from and writing to the Validation Control.
Apps automatically manages this variable:
- Creates the variable when you add the Validation Control onto the canvas.
- Renames the variable when you rename the control.
- Deletes the variable when you remove the control.
- Prevents you from manually deleting or modifying this variable, since it is protected.
- Provides usage across different app pages, as the variable is app-scoped.
Taxonomy
—Holds document schema, field definitions, and labels.ExtractionResult
—Contains extracted field values, raw and validated.SelectedDocumentType
—The active document type shown in the control.SelectedField
—The field currently selected by the user.BusinessRules
—Status of field-level validation rules.IsValid
—Boolean flag to override control validity.DataSource
—Holds the originalContentValidationData
object.
- Getting the extracted results
VarValidationControl1_MainPage.ExtractionResult
VarValidationControl1_MainPage.ExtractionResult
-
Getting the selected document type
VarValidationControl1_MainPage.SelectedDocumentType
VarValidationControl1_MainPage.SelectedDocumentType
-
Getting the selected field and its values
VarValidationControl1_MainPage.SelectedField.FieldValue.Value
VarValidationControl1_MainPage.SelectedField.FieldValue.ValueVarValidationControl1_MainPage.SelectedField.FieldValue.Confidence
VarValidationControl1_MainPage.SelectedField.FieldValue.Confidence
-
Getting taxonomy fields (useful for dropdowns)
VarValidationControl1_MainPage.Taxonomy.GetFields(VarValidationControl1_MainPage.SelectedDocumentType).ToListSource
VarValidationControl1_MainPage.Taxonomy.GetFields(VarValidationControl1_MainPage.SelectedDocumentType).ToListSource -
Reading a table field value
WhereVarValidationControl1_MainPage.ExtractionResult.GetTableFieldValueByTableName("Invoice Items")(0)(0).Value
VarValidationControl1_MainPage.ExtractionResult.GetTableFieldValueByTableName("Invoice Items")(0)(0).Value(0)(0)
represents the cell at the intersection of the first column and the first row of the Invoice Items table.
To edit the values inside the Validation Control, use the Set Variable Value activity and reference the variable:
- Setting a field value in the To variable fieldSet value field: John Doe.
VarValidationControl1_MainPage.Field("Patient Name").Value
VarValidationControl1_MainPage.Field("Patient Name").Value
-
Setting focus on a table cell value
VarValidationControl1_MainPage.Field("Invoice Items").Field("Description", 0).SetFocus = true
VarValidationControl1_MainPage.Field("Invoice Items").Field("Description", 0).SetFocus = trueWhere("Description", 0)
represents the cell at the intersection of the "Description" column and the first row of the Invoice Items table.
-
Setting confidence or confirm flags
VarValidationControl1_MainPage.Field("Patient Name").Confidence = 0.95
VarValidationControl1_MainPage.Field("Patient Name").Confidence = 0.95VarValidationControl1_MainPage.Field("Patient Name").Confirm = true
VarValidationControl1_MainPage.Field("Patient Name").Confirm = true -
Updating a multi-value field
VarValidationControl1_MainPage.Field("Diagnosis Code", 2).Value = "E11.9"
VarValidationControl1_MainPage.Field("Diagnosis Code", 2).Value = "E11.9"Where2
represents the row number in the Diagnosis Code column.
-
Deleting a field value
VarValidationControl1_MainPage.Field("Vendor Name").DeleteValue
VarValidationControl1_MainPage.Field("Vendor Name").DeleteValue -
Updating a table cell
WhereVarValidationControl1_MainPage.Field("Invoice Items").Field("Description", 0).Value = "50.00"
VarValidationControl1_MainPage.Field("Invoice Items").Field("Description", 0).Value = "50.00"("Description", 0)
represents the cell at the intersection of the "Description" column and the first row of the Invoice Items table.