Delete Folder (OneDrive) activity

An activity that deletes a folder in OneDrive.


Delete Folder activity

Configure the Delete Folder activity

To configure the Delete Folder 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, open the OneDrive tab.

    Open OneDrive tab
  3. On the OneDrive tab, drag the Delete Folder activity onto your process.

    Drag Delete Folder activity

General Configuration

Specifies the basic settings for the Delete Folder 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

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

Select OneDrive Type

Specifies the type of OneDrive service.

Figure: Select OneDrive Type screen

Select OneDrive Type screen

Fields

Field NameDefinition

OneDrive Type

Function:
Specifies to connect to your OneDrive or OneDrive for Business service.
Accepted Values:
  • OneDrive - Connects to your OneDrive service.
  • OneDrive for Business - Connects to your OneDrive for Business service.
Default Value:
OneDrive

Delete Folder in OneDrive Configuration

Specifies a folder to delete from OneDrive.

Figure: Delete Folder in OneDrive Configuration screen

Delete Folder in OneDrive Configuration screen

Fields

Field NameDefinition

OneDrive

Function:
Specifies the access token that connects to your OneDrive service.
Accepted Values:
A list of access tokens configured for your environment.
Default Value:
None
Accepts Process Data Variables:
No
Example:
Refer to:

Create Add Token icon

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

Folder Path

Function:
Specifies the path of the folder.
Accepted Values:
  • Choose Folder Path - Specifies an absolute path for the folder.
  • Dynamic Folder ID - Specifies a process data variable that stores the folder ID.
Default Value:
Dynamic Folder ID
Accepts Process Data Variables:
Yes
Example:
  • ${HomeDirectory}\sample2.doc
  • MyFolder1/Sample3.doc

Also refer to: