Apps
latest
false
Banner background image
Apps User Guide
Last updated Feb 21, 2024

Rule: Reset Values

Use the Reset Values rule to revert a control to their default value.

Clicking the Items To Reset filed opens the Resources panel, which displays the available controls.



Note:

Applying this rule to a container or a page impacts all the controls within the container/page, including nested containers.

Available Controls

To better understand how the Reset Values rule works for different controls, check the table below.

Note: If a control is not mentioned in the table below, the Reset Values rule does not apply to that control.

Control

How it works

Checkbox

  • If no default value is configured for the control, the rule deselects the checkbox.
  • If a default value is configured, the rule applies the default selection.

Date Picker

  • If no default value is configured for the control and if no default date is configured, the rule clears the date.

Dropdown

  • If a default value is configured, the rule only clears the selected value, not all control values.

Multiselect dropdown

  • If a default value is configured, the rule only clears the selected value, not all control values.

File Uploader

  • The rule clears the content in the File Uploader control, so users can upload another file.

Radio Button

  • The rule removes any selection, unless a default value is configured.

Slider

  • The rule resets the slider bubble, unless a default value is configured.

Switch

  • The rule resets the switch, unless a default value is configured.

Text Area

  • The rule clears the values, unless a default value is configured.

Textbox

  • The rule clears the values, unless a default value is configured.

Edit grid

  • The rule clears the selected values.

Table

  • The rule clears the selected values.

Container

  • If you apply this rule to a container, it'll be applied to all controls within the container, including nested containers.

Container Layout

  • If you apply this rule to a container, it'll be applied to all controls within the container, including nested containers.

App variable

  • The rule sets the value to empty.

Example

You can use the Reset Values rule when building a form.

For example, you can add the rule to a Submit button at the end of a form and configure it to reset the whole container. This way, after filling in all the fields and submitting the information, the form resets to its default values and the user can fill it in a second time.

  • Available Controls
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.