Subscribe

UiPath Apps

The UiPath Apps Guide

Rule: Reset Values

The Reset Values rule reverts a control to a default value, or clears it if a default value is not configured.

451

📘

Tip:

If you apply this rule to a container, it will be applied to all controls within the container, including nested containers.
All controls that are part of that container will be reset or cleared, depending on the situation. For more information, see the Available controls section below.

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.

ControlHow it works
Checkbox If no default value is configured for the control, the rule unmarks the checkbox.
If the control default value is configured, the rule won't unmark the checkbox.
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 Picker The rule clears the File Picker object and its associated objects, so the user 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.
Custom List 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.

Updated 8 months ago

Rule: Reset Values


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.