Clear Variable

The Clear Variable action A feature that supplies the instructions in a botflow. clears the value of a specific variable Feature that collects, holds, and passes data in a botflow. in a botflow A file that stores the actions and variables designed to automate tasks..

Using the Clear Variable action, you can:

  • Clear the value of selected variables.
  • Clear stored variable information within a botflow.

Some examples of using the Clear Variable action are, clearing variables in preparation:

  • Of saving the botflow.
  • For the next iteration of a loop.

Add a Clear Variable action to a botflow

This example provides the steps necessary to add a Clear Variable action to a botflow.

To add a Clear Variable action to a botflow:

  1. On the Actions list, click Data and then click Clear Variable from the Variables list.
  2. The Clear Variable Action Builder window displays.

  1. Set the Clear Variables settings.

    Clear: Select the Clear Variable behavior from the drop-down list.

    Selection Options: Optionally, select an option to quickly select or deselect all listed variables.

  1. If needed, adjust the Run Switch setting to create the action without running it.
  1. Optionally, add an action note.
  2. Click OK to add the Clear Variable action to the botflow.