Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

List connector methods

The List connector methods perform various actions on list items as part of an automation workflow. You must first expose the methods before using.

Add

Adds a single list item.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
ItemName of the list item.Data inObjectNoneYes

AddList

Adds a list of items.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?Notes
ListList of items.Data inObjectNoneYesYou can pass the list items from a variable or an appropriate component.

Contains

Returns the Boolean value based on whether a list item exists.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
ItemName of the list item that the method searches.Data inObjectNoneYes
ReturnReturns True if list item found, else, returns False.Data outBooleanNot applicableNot applicable

Count

Returns the total count of list items added.

ParameterDescriptionData port typeData typeDefault valueMandatory?
ReturnReturns the total count of list items added.Data outIntegerNot applicableNot applicable

FindByProperty

Finds a list item based on the specified key and value. You must create at least one key value pair list item before executing this method.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
PropThe key in the key value pair.Data inStringNoneYes
ValueThe value in the key value pair.Data inStringNoneYes
FoundReturns True if list item found, else, returns False.Data outBooleanNot applicableNot applicable
Itemif the Found parameter is True, the method returns the list item.Data outObjectNot applicableNot applicable

FindText

Finds text or regex in the list items based on the specified filter and returns the total occurrences of the text and the text itself.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
SearchTextText that the method searches in the list items.Data inStringNoneYes
FindByOption to indicate whether the method searches a text or regex.Data inStringNoneYes
MatchTypeOption to indicate whether the type of match will be:- An exact match - Match case - Containing the specified characters.Data InStringNoneYes
CountReturns the total occurrences of the match.Data outIntegerNot applicableNot applicable
OutlistReturns the list of matches.Data outListNot applicableNot applicable

GetItem

Returns a list item based on its index value.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
IndexIndex value of the list item.Data inIntegerNoneYes
ReturnReturns the list item.Data outObjectNot applicableNot applicable

GetItems

Returns the list items based on their index values. You must configure the index values first.

To configure, do the following steps.

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon.\).
  1. Click the add index icon (
Image omitted: add-image-icon.png
Add index icon.\).
  1. Enter the index value.
  2. Update the data type of the index value.
  3. Repeat the steps to add more index values.
  4. Click OK.

    A data out port is created with each index value. The data out port returns the list item corresponding to the index value.

GetList

Returns all list items and lists created.

ParameterDescriptionData port typeData typeDefault valueMandatory?
ReturnReturns the list items and lists.Data outArrayNoneNot applicable

Remove

Removes the specified list item.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
ItemList item the method removes.Data inObjectNoneYes

RemoveAll

Removes all list items added.

Reverse

Reverses the order of the index values of the list items.

SetItems

Updates the values of the list items. To use the method, you must first configure the method.

To configure, do the following steps.

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon.\).
  1. Click the add index icon (
Image omitted: add-image-icon.png
Add index icon.\).
  1. Enter the index value.
  2. Update the data type of the index value.
  3. Repeat the steps to add more index values.
  4. Click OK.

    A data in port is created with each index value.

To provide inputs to the parameters, see Configure port properties.

ParameterDescriptionData port typeData typeDefault valueMandatory?
ItemAccepts the value of the list items.Data inObjectNoneYes

Sort

Sorts the list items.

ToArray

Returns the list items in the form of an array. You must add more than one list item before executing this method.

ParameterDescriptionData port typeData typeDefault valueMandatory?
ReturnReturns the list items in the form of an array list.Data outArray listNot applicableNot applicable

Parent Topic:List