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. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the OneDrive OneDrive icon tab.
      2. On the OneDrive OneDrive icon tab, drag the Delete Folder Delete Folder 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 Folder 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

Select OneDrive Type

Specifies the type of OneDrive service.

Figure: Select OneDrive Type screen

Select OneDrive Type screen

Fields

Field Name Definition

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 Name Definition

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:

Add Token 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: