Office 365 delete items

Deletes items from a list or document library on SharePoint Online.

Note: This is an external action and may execute on servers running outside your data center Centralized locations used to house servers used by Nintex for remote storage, processing, or distribution of data. Nintex has a number of regional data centers available for Nintex for Office 365. For information about Nintex data centers and where your data center is located, contact your Nintex account or territory manager. region. Before implementing, consider performance and regional concerns where digital boundaries are an issue. For more information, see In-tenant and external actions.

Action settings

Do one of the following to open the Action configuration window:

  • Double-click the action.
  • Click on the action and then click Configure.

See Action configuration window for more information.

Field Description
Destination site URL

URL of the site containing the items to be deleted.

List name

Name of the list or document library containing the items to be deleted.

Items to delete

Query to determine items to be deleted. Includes filters and subfolder options.

Select one of the following items for the query.

  • Query builder: Build a query to filter for items to delete. View the CAML at any time by switching to the CAML Editor mode.
  • CAML editor: Create a more advanced query using XML encoding.

Select or clear the following check boxes.

  • Search folders: When selected, deletes items within subfolders.
  • Delete folders: When selected, deletes folders as well as items. When cleared, deletes items only.

Select one of the following for Filters.

  • Delete all list items: Deletes all items in the list or document library.
  • Delete items only when the following is true:
    • Delete the items when column / When column: Specify a column, select an operator, and specify a value.
    • Add filter rule: Add a filter.
    • Delete (): Delete a filter. Displayed for second and subsequent filters.
    • And / Or: Specify how to group sequential filters.

      Note: All items returned from the filter are deleted.

SharePoint Online URL

URL of the SharePoint Online website domain. Example: http://targetdomain.sharepoint.com.

Connection
  • Permissions required: Delete items from the specified site.
  • Connection type required: SharePoint Online: List & library. For more information about Connection types, see Connection types and Connector actions.
Username / Password

(Displayed for legacy actions not yet updated.) Unmanaged credentials.

  • Permissions required: Delete items from the specified site.

Note: As a best practice, manage credentials by updating actions to use connections.

All matched items deleted

Boolean variable to store operation result. Returns "Yes" if all matched items were successfully deleted.

For more information about how to use Lookups in configuration fields, see Lookups in action configuration fields.