Office 365 delete drafts
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.
Deletes any drafts or minor versions of items in a document library on SharePoint Online.
Note: Document version history must be enabled for major and minor (draft) versions on the document library.
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 item drafts to be deleted. |
List name |
Name of the document library containing the drafts to be deleted. |
Drafts to delete |
Query to determine drafts to be deleted. Includes filters and subfolder options. Select one of the following items for the query.
Select or clear the following check box.
Select one of the following for Filters.
|
SharePoint Online URL |
URL of the SharePoint Online website domain. Example: http://targetdomain.sharepoint.com. |
Connection |
|
Username / Password |
(Displayed for legacy actions not yet updated.) Unmanaged credentials.
Note: As a best practice, manage credentials by updating actions to use connections. |
All matched drafts deleted |
Boolean variable to store operation result. Returns "Yes" if all matched drafts were successfully deleted. |
List item ID |
Collection or dictionary variable to store IDs of items corresponding to deleted drafts. |
List item URL |
Collection or dictionary variable to store URLs of items corresponding to deleted drafts. |