Update Local Variable

BlockUtilities

Set a local variable to a new value.

Inputs

VariableRequired

The local variable to update.

Pick one of the flow's local variables.

ValueRequired

The new value to set.

Example: Hello

Build a bot using blocks like Update Local Variable

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: update_local_variable

Inputs

FieldInventScript nameValue
Variablevariablea local variable, e.g. count
Valuevaluee.g. "Hello"

Example InventScript

var count = 0

count = "Hello"

More utilities blocks