Skip Ribbon Commands
Skip to main content
SharePoint

Delete Specific List Items from a SharePoint List

To delete specific list items from a SharePoint list, complete the following steps:
  1. Check out and open the process you want to edit.

  2. In the Toolbox pane, click Microsoft SharePoint. A list of activities is displayed.

  3. Double-click or drag the Delete SharePoint List Items activity into the process.

  4. Link the activity appropriately with other activities in the process. 

  5. Right-click the Delete SharePoint List Items activity. A shortcut menu is displayed.

  6. Select View Properties. The Delete SharePoint List Items window is displayed.

  7. Click the List to Delete From tab. The corresponding screen is displayed.

  8. In the SharePoint Site field, click the System Resource editor icon. A drop-down list is displayed.

  9. Select the appropriate SharePoint system resource. The selected system resource’s name is displayed in the field.

    Note:
    If your system resource contains a data item, click Configuration values and enter a valid URL and credentials for design-time, configuration purposes.


  10. In the SharePoint List field, select the appropriate input field editor and set the field to a value that is the list name from which you want to delete items.

    Note:
    If your system resource contains a data item in the connection string property, click Configuration values and enter a valid connection string for design-time, configuration purposes.


  11. Click the Deletion Criteria tab. The corresponding screen is displayed.

  12. Select the Delete Items That Meet the Following Criteria option.

  13. Select the criteria you want to use to delete SharePoint list items from the following options:

        Delete list items that meet all of the following criteria
        Delete list items that meet one or more of the following criteria
        Delete list items that do not meet all of the following criteria
        Delete list items that do not meet one or more of the following criteria

  14. In the List Column field, click the drop-down arrow. A drop-down list of is displayed.

  15. Select the appropriate SharePoint list column. The selected list column’s name and the corresponding data type are displayed
    in the respective fields.

  16. In the Filter Condition field, select the relevant operator for the criteria you want to apply.

  17. In the Value to filter on field, select the appropriate input field editor and set the field to a value on which you want to apply the filter.

  18. Click OK. You configured the activity to delete specific list items from a SharePoint list.
Related Topics
Delete All List Items from a SharePoint List

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Microsoft SharePoint Activities > Delete SharePoint List Items
Last modified at 7/31/2020 11:31 AM