Delete Particular File Version activity

An activity that deletes a major or minor version of a file from a SharePoint list.


Delete Particular File Version activity

Configure the Delete Particular File Version activity

To configure the Delete Particular File Version activity, do the procedure in this topic.

Examples

Good to Know

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, go to the Activity Library, and open the SharePoint SharePoint icon tab.
      2. On the SharePoint SharePoint icon tab, drag the Delete Particular File Version Delete Particular File Version icon activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.

General Configuration

Specifies the basic settings for the Delete Particular File Version activity.

Figure: General Configuration screen

General Configuration screen

Fields

Field Name Definition

Display Name

Function:
Specifies the activity name that shows in your process.
Accepted Values:
One line of text that can have spaces.
Default Value:
None
Accepts Process Data Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Function:
Specifies an optional text description for your activity.
Accepted Values:
More than one line of text.
Default Value:
None
Accepts Process Data Variables:
No

Delete Particular File Version Configuration

Specifies a list item file version you want to delete.

Figure: Delete Particular File Version Configuration screen

Delete Particular File Version Configuration screen

Fields

Field Name Definition

SharePoint

Function:
Specifies the access token that connects to your SharePoint site.
Accepted Values:
A list of access tokens configured for your environment.
Default Value:
None
Example:
Refer to:

Add Token Add Token icon

Opens this Screen:
Access Token for SharePoint
Function of this Screen:
Configure an access token to connect to SharePoint.
Example:
Refer to:

Site

Function:
Specifies the URL for your SharePoint site.
Accepted Values:
A valid SharePoint site URL.
Default Value:
None
Accepts Process Data Variables:
Yes
Example:

Library

Function:
Specifies the name for the new document library.
Accepted Values:
One line of text that can have spaces.
Default Value:
None
Accepts Process Data Variables:
Yes

Folder

Function:
Specifies the name of your SharePoint folder.
Accepted Values:
The name of your SharePoint folder

If the folder does not exist within the specified SharePoint list, the AgilePoint system creates it.

Default Value:
None
Accepts Process Data Variables:
Yes

File Name

Function:
The name of your file.
Accepted Values:
A valid file name.
Default Value:
${DocName}
Accepts Process Data Variables:
Yes

Delete Last Major Version

Function:
Specifies if you want to delete the last major of the file.
Accepted Values:
  • Selected - Deletes the last major file version.
  • Deselected - Lets you specify the version number to delete.
Default Value:
None
Accepts Process Data Variables:
Yes
Example:
  • A major file version number - 1 or 1.0
  • A minor file version number - 1.3

    In this example, 1 is the major version; 3 is the minor version.

Version Number

Function:
Specifies the major or minor file version you want to delete or add back.
Accepted Values:
A valid file version number.
  • A major file version number - An integer.
  • A minor file version number - [major version number].[minor version number]
  • Blank (null) - If you do not enter any number, the last number in the version increases by 1.
Default Value:
None
Accepts Process Data Variables:
Yes
Example:
  • A major file version number - 1 or 1.0
  • A minor file version number - 1.3

    In this example, 1 is the major version; 3 is the minor version.