Add item action in List

The Add item action enables you to insert an item into a list variable.

Settings

You can choose to add the item at the end of the list or specify a position in the list. The following settings are available in Add item action:

List variable
Specify the list variable in which the item must be amended.
Item to be added
Specify the item that must be added to the list. You can select the item from the list of variables in the drop-down or create a variable.

Add item action supports file streaming. You can map a file from any cloud storage to a file variable and use the variable to add the file to the list. You can use one of the supported actions to create a streamable file variable. For more information about file stream and supported packages, see File stream support in API Tasks

Note: The variable must be of the same sub-data type as the other list items.
Add item
Specify the location in the list where you must add the item. Select one of the following option:
  • Select the To end of list option to insert the item at the end of the list.
  • Select the At list index option to specify the index in the list where to insert the item.

    The list index starts from 0. The first item in the list is at position 0, the second item at 1, and so on..

    For example, to add an item at the fourth position in a list, enter 3 in the At list index field.