Turn on more accessible mode
Skip Ribbon Commands
Skip to main content
Turn off Animations
SharePoint

Delete Files that Match the Filter Criteria from a Folder or SharePoint Library via WebDAV

Important StatusThe current page has been customized from its template.
To delete a file that matches the filter criteria from a folder or SharePoint library via WebDAV, complete the following steps:
  1. Check out and open the process.

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

  3. Double-click or drag the WebDAV Delete File activity into the process.

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

  5. Right-click the WebDAV Delete File activity. A shortcut menu is displayed.

  6. Select View Properties. The WebDAV Delete File window is displayed.

  7. Click the File Location tab. The corresponding screen is displayed.

  8. In the Folder or Library URL field, select the appropriate input field editor and set the field to a value that is a folder or library URL.

  9. In the Authentication section, select Run as BPM Server or Specify credentials.

    Note:
    If you select Run as BPM Server, access will be granted or rejected based on the BPM Server credentials. If you select Specify credentials, complete the Username, Password, and Include domain fields using the appropriate input field editors. The Include domain check box is optional.
     

  10. Click the Files to Delete tab. The corresponding screen is displayed.

  11. Select the Delete Files that Meet Criteria check box.

  12. In the Deletion Criteria field, select the appropriate input field editor and set the field to a value that is a criterion.

    Note: 
    You can use either text or wildcards (*) to filter the files that have been retrieved. To delete all files from the specified folder, leave the field blank.
    For example:
    File.txt returns the file named ‘File.txt’
    File* returns all files that begin with ‘File’
    *.txt returns all files that end with ‘.txt’.
    File*txt returns all files that begin with ‘File’ and end with ‘.txt’


  13. Click OK. You configured the activity to delete files that match the filter criteria from a folder or SharePoint library via WebDAV.
Related Topics
Delete a Specific File from a Folder or SharePoint Library via WebDAV

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Internet Activities > WebDAV Delete File
Last modified at 7/31/2020 11:37 AM