Back to Tooljet

Set variable

docs/versioned_docs/version-2.5.0/actions/set-variable.md

3.20.154-lts776 B
Original Source

This action allows you to create a variable and assign a value to it.

Options

OptionDescription
KeyName(String) of the variable through which you can access the value
ValueA value can be a string, number, boolean expression, array, or object
DebounceDebounce field is empty by default, you can enter a numerical value to specify the time in milliseconds after which the action will be performed. ex: 300

:::info You can also trigger actions from the JavaScript code. Check it out here. :::

<div style={{textAlign: 'center'}}> </div>