Remove item from collection

The Remove item from collection action A tool for building the processes, logic, and direction within workflows. removes the specified item from the specified collection A variable containing multiple items, such as email addresses. Collection variables are useful for storing and operating on query results. For example, you can set up collection variables for names, email addresses, and index values to store results from querying a list. You can then loop through items in a particular collection variable (names, emails, or index values)..

For example, remove a phone number from a collection of phone numbers after the workflow has processed it.

Add and configure the Remove item from collection action

Tip: Use this action within the Loop for each action.

In the Designer page:

  1. Click the Collection operations action group in the action toolbox.

    or

    Find actions by browsing action groups, or by typing an action name or function in the Search field at the top of the action toolbox.

  2. Drag the Remove item from collection action to the point in the workflow when you want to remove an item from a collection variable.
  3. Click the Remove item from collection action.
  4. Complete the fields. For more information on the fields, see Remove item from collection fields.

    Field

    Example configuration

    Example returned contents

    Target collection collProduce

    apple; carrot; romaine; tea

    Index

    3

     

    Output

    collProduceCleaned

    apple; carrot; romaine