ArrayPush

Overview


This block is a programming method that adds one or more elements to an array and changes the length of the array.

Drag and drop ArrayPush inside a workflow where a green field appears. Doing so makes it a part of the workflow.

Procedure

ArrayPush works well with ForEach loops. It collects the items a loop goes through in the “result” array.

  1. Specify the Array in the first field of the block.

  2. Specify the Item in the second field of the block.

  3. Run the workflow to see the effect applied.

To disable an ArrayPush block without deleting it, use the slider on the left of its name.