Welcome to an article on how to use the action "Office 365 delete previous versions" on Document Library in SharePoint Online and Office 365 using Nintex Workflows. This article will display the action “Office 365 delete previous versions.” Here, we will see how to configure this action and use it for our work.

Using this action, you can delete the previous versions of the items in a document library.

Let’s see the implementation of this functionality.

Configuration

  1. Destination site URL: Provide the site URL.
  2. List Name: Specify the name of the library.
  3. Previous Versions to Delete: You can choose if you want to delete all the previous versions or you delete based on your conditions.

    choose

  4. SharePoint Online URL: Provide the site URL.
  5. Username: Provide the site user name.
  6. Password: Specify the password.
  7. All matched previous versions deleted: Here, you can add a variable to store the value ‘Yes’, if all the matched previous versions are deleted.
  8. List item ID: Here, you can add a variable to store the list item Id.
  9. List item URL: Here, you can add a variable to store the list item URL.

Once you configure, the Workflow will automate the process of deleting the previous versions of the items from the document library as per your condition.

Hence, in this article, we saw how to delete the previous versions on the library, using the action Office 365 delete previous version in SharePoint Online and Office 365, using Nintex Workflows. We will see more new articles on the actions of Nintex Workflows.