Clear collection

Use the Clear Collection actionA tool for building the processes, logic, and direction within workflows. to remove all items from a specified collectionA 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)..

To learn more about collection actions, complete the Nintex for Office 365 - Collection Operations course on Nintex University.

Before you start 

Add and configure Clear collection action

In the Designer:

  1. Click the Operations action group in the action toolbox.
  2. or

    Type the action name or function in the Search field at the top of the action toolbox.

  1. Drag the Clear Collection action to the point in the workflow when you want to clear items in a collection.
  2. Open the Action Configuration window. For steps on how to open the Action configuration window, see Action configuration window.
  1. Select the Target Collection.
  2. Click Save.

For more information on the fields and buttons see, Clear collection fields, buttons and settings.