Skip to main content

Set Variables Tool for App Builder

注意

App Builder is a new and evolving product available with the Alteryx Analytics Cloud Platform. Functionality is subject to change without notice as we continue to refine and enhance your experience. We appreciate your understanding and welcome your feedback on Alteryx Community as we continue to improve App Builder!

Use Set Variables to set the value of global variables.

Create Variables

Before you can configure the Set Variables tool, you must first create variables:

  1. Navigate to the Variables panel in the Orchestrate or Design tabs.

  2. Enter a Variable Name.

  3. Select a Variable Type. For more information, see Data Types.

  4. Enter a Default Value, if desired. Options for this value change depending on your selected Variable Type. For example, if you select a Boolean Variable Type, your options are limited to True and False.

  5. Select Create. Your new variable is added to a list at the top of the panel.

Edit Variables

To edit an existing variable:

  1. Select the edit icon

    edit-icon.png

    next to the variable you wish to edit.

  2. Edit the Variable Type, Default Value, or Override Value.

  3. Select the edit icon

    edit-icon.png

    to close the edit options. Your variable changes will be saved locally. To save them overall, select Save.

Delete Variables

To delete a variable:

  1. Select the edit icon

    edit-icon.png

    of the variable you wish to delete.

  2. Select Delete Variable.

Configure the Tool

  1. In the Set Variables tool configuration panel, select a Variable. You can enter the variable name or select one from the dropdown.

  2. Select Set Variable.

  3. Select your variable from the dropdown.

  4. Select Save.

You can set multiple variables by repeating the process for your different created variables.

Remove Variable

To remove a variable, select Remove.