Extend array

The Extend array node is used to extend values in an array

Properties Panel

General

FieldDescriptionRequired

Node name

true

Variable name

Name of array to extend values in

true

Values to extend

Value to be extended in given array

true

Returns

This node does not return any value, but sets a variable with your provided <name> in the flow context.

Example

Let's assume we have two variables declared in our flow

  • val_one = [1, 2, 3, 4]

  • val_two = [5, 6, 7, 8]

Now to extend values of val_two in val_one we have to set

  • Variable name = $.variables.val_one

  • Values to extend = $.variables.val_two

This would change variables as

  • val_one = [1,2,3,4,5,6,7,8] (changes the original value)

  • val_two = [5,6,7,8] (stays the same)

Last updated