Delete Draft Version activity
An activity that deletes draft versions of files in SharePoint.
![Delete Draft Version activity](images/cloudenvShapeDeleteDraftVersion.jpg)
Configure the Delete Draft Version activity
To configure the Delete Draft Version activity, do the procedure in this topic.
Examples
Good to Know
- To send an email notification, click
Advanced
> Email Notifications
.
For more information, refer to Email Notifications screen (Process Activities).
- In most text fields, you can use process data variables as an alternative to literal data values.
- You can configure whether this activity waits for other activities before it runs.
For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?
- This section shows the configuration settings on the configuration screens for this activity. Other configuration settings apply to system activities. For more information, refer to:
How to Start
- Open Process Builder.
For information about how to open this screen, refer to Process Builder.
- In Process Builder, in the Activity Library, and
open the SharePoint tab.
- On the SharePoint tab,
drag the Delete Draft Version
activity onto your process.
General Configuration
Specifies the basic settings for the Delete Draft Version activity.
![General Configuration screen](images/cloudenvSystemBasicConfigurationWinDeleteDraftVersionSharePoint.jpg)
Good to Know
- Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.
Fields
Field Name | Definition |
---|---|
Display Name |
|
Description |
|
Delete Draft Version Configuration
Specifies the draft versions of files to delete in SharePoint.
![Delete Draft Version Configuration screen](images/cloudenvDeleteDraftVersionConfigWin.jpg)
Fields
Field Name | Definition |
---|---|
SharePoint |
|
Create |
|
Site URL |
|
Library |
|
Include All SubFolders |
|
Delete All Drafts / Filter Condition |
|
Show Hidden Fields |
|
Code Snippet |
|
Add Condition |
|
Delete Draft Version Configuration > Expression Builder
Configures a WHERE clause to filter the draft versions of the SharePoint files to delete.
![Delete Draft Version Configuration Expression Builder screen](images/cloudenvDeleteDraftVersionExpressionBuilderConfigWin.jpg)
Fields
Field Name | Definition |
---|---|
Fields |
|
Add Condition |
|
Select Nest Type |
|
Column |
|
Comparer |
|
Value |
|
Delete |
|