Array Push

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

Procedure

To incorporate the Array Push block into a workflow, complete the following steps:

  1. Drag and drop the block to your chosen location in the workflow.
  2. In the Array field, specify the array name. For example, you can enter $result.
  3. In the Item field, specify the element that you want to append to the array. For example, you can enter $ForEach_1.item.
  4. Run the workflow to see the effect of the Array Push block.

Compatibility

The Array Push block is designed to work effectively with ForEach loops.

Disabling the Array Push block

To disable an Array Push block without deleting it, turn off the switch in the block header.