Interactive forms package
- Updated: 2024/08/07
Interactive forms package
The interactive forms package contains actions that handle exceptions encountered by a bot. All the actions performed by users on the interactive forms can be monitored to execute logic using subtasks.
Interactive forms are first-class citizens within the bot repository and have the same workflows for moving forms between public and private workspaces, and for export or import actions. Handling exceptions ensures that a bot completes a task when it encounters an error.
Interactive forms should be used as containers for data to be consumed, collected, and used during bot automation. No human interaction occurs in this type of form. Bot actions can interact with these forms when data is mapped during the bot build from sources like web applications and databases. Users wanting forms during human interaction should use process automation where data can be entered during run time. Add Form Task to a process automation
Actions in the Interactive forms package
The interactive forms package includes form-level and element-level actions.
The following actions are available at the form level:
Action | Description |
---|---|
Display | Load and display the selected form. Select or insert a variable in the Form name field to display the form when an event is triggered. Optionally, select the check box to always display the form window in front. |
Close | Closes the selected form. |
Show | Loads or displays a hidden form. Select or insert a variable in the Form name field for a hidden form, which is displayed on the desktop when an event is triggered. |
Hide | Hides the selected form from the user's view. |
Reset | Resets the selected form to its default value. Select or insert a variable in the Form name field for a form. All the values of this specified form are reset when an event is triggered. |
Validate form | Validates all the elements within the selected form.
|
Change Form Title | Changes the title of the selected form.
|
The following actions are available at the element level:
Action | Description |
---|---|
Assign | Assigns dynamic values to the Dropdown
element of a form.
Note: The
Assign
action is now applicable for the
Checkbox and Radio
Button elements in interactive
forms.
|
Enable | Enables the specified element of the selected form.
|
Disable | Disables the specified element of the selected form. |
Get | Retrieves the value from the specified element of the
selected form.
|
Set | Assigns the user-defined or global variable to the selected
element of the specified form.
|
Set focus | Sets the focus on the selected element of a form.
|
Highlight | Highlights the specified element of the selected form.
|
Unhighlight | Removes the highlight from the specified element of the selected form. |
Change label | Changes the label of the selected form element.
Note: The Change
label
action is now applicable for
Button elements in
interactive
forms.
|
Dynamic area | |
Add row in Dynamic area | Note: The Dynamic
area, Select folder, and
Snapshot elements are not supported for web
forms. Applies only to forms that have a
Dynamic element. This action
renders the selected form field as a single row when the bot starts.
|
Clear | Clears all the dynamic elements in the specified form. |