Restore File Version activity

An activity that restores a SharePoint file to a previous major or minor version number.


Restore File Version activity

Configure the Restore File Version activity

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

Examples

Good to Know

How to Start

  1. Open Process Builder.

    For information about how to open this screen, refer to Process Builder.


    Open Process Builder
  2. In Process Builder, in the Activity Library, and open the SharePoint tab.

    Open SharePoint tab
  3. On the SharePoint tab, drag the Restore File Version activity onto your process.

    Drag Restore File Version activity

General Configuration

Specifies the basic settings for the Restore File Version activity.

Figure: General Configuration screen

General Configuration screen

Good to Know

  • Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.

Fields

Field NameDefinition

Display Name

Description:
Specifies the activity name that shows in your process.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
  • Spaces
Default Value:
None
Accepts 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

Description:
Specifies an optional text description for your activity.
Allowed Values:
More than one line of text.
Default Value:
None
Accepts Variables:
No

Restore File Version Configuration

Specifies a version to restore for a SharePoint file.

Figure: Restore File Version Configuration screen

Restore File Version Configuration screen

Fields

Field NameDefinition

SharePoint

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

Create 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

Description:
Specifies the URL for your SharePoint site.
Allowed Values:
A valid SharePoint site URL.
Default Value:
None
Accepts Variables:
Yes
Example:

Library

Description:
Specifies the name of the SharePoint library.
Allowed Values:
A valid SharePoint library name.
Default Value:
None
Accepts Variables:
Yes

Folder

Description:
Specifies the name of your SharePoint folder.
Allowed 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 Variables:
Yes

File Name

Description:
The name of your file.
Allowed Values:
A valid file name.
Default Value:
${DocName}
Accepts Variables:
Yes

Version Number

Description:
Specifies the major or minor file version you want to delete or add back.
Allowed 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 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.