ToolJet/docs/versioned_docs/version-2.50.0-LTS/actions/set-variable.md
Karan Rathod 4ca0431221
[docs]: Add App-Builder 1.7 docs and update quickstart guide (#9872)
* revamp checkbox, toggle and button component docs

* update button component doc and add videos to quickstart guide

* re-arrange sidebar items

* create a new version and update a video
2024-05-31 20:01:27 +05:30

822 B

id title
set-variable Set variable

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

Options

Option Description
Key Name(String) of the variable through which you can access the value
Value A value can be a string, number, boolean expression, array, or object
Debounce Debounce 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. :::

ToolJet - Action reference -Set variable