Swiftybase
Function StackCommon

Update Variable

Modify an existing variable's value

Update an existing variable by assigning a new value, either from a raw input or another variable.

Config

  • Value – The new value to assign to the variable. It can be a raw input or derived from another variable.
  • Action – An optional transformation applied to the new value before it's assigned to the variable.

Example 1: Update an Existing Variable

Update the value of a variable by selecting the target variable and providing a new value of the same type.

Select the variable
Select variable

Update the value
Choose the field

Example 2: Update a Struct Property

In this example, we update the event property of a variable named event, which is a struct.

Select the struct property
Select the struct type

Update the value
Choose the field

On this page