UiPath Integrations

The UiPath Integrations Guide

Welcome to the UiPath Integrations guide. You will find comprehensive guides and documentation to help you start working with UiPath Integrations, as well as support if you get stuck.

In order to download the solutions mentioned here please visit the official UiPath Go! Marketplace here.

*Note that only integrations built in-house at UiPath are detailed below. For a complete list of UiPath's technology partners, see here.

Move Item

Overview

The Move Item activity uses the Microsoft Graph MoveDriveItem API to move a specified file or folder (DriveItem) to a new parent folder (Destination) with the option to change its name (NewItemName).

After moving the item to the Destination, the activity returns a DriveItem object (MovedDriveItem) that you can use as an input variable in subsequent activities.

How it works

The following steps and message sequence diagram is an example how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Microsoft Office 365 Scope activity to your project.
  3. Add an activity or run an external process that outputs a DriveItem object (e.g., Find Files and Folders, Create Workbook, Copy Item).
  4. Add the Move Item activity inside the Microsoft Teams Scope activity.
  5. Enter values for the Input properties.
  6. Create and enter a DriveItem variable for your Output property.
  7. Run the activity.
    • Your input property values are sent to the MoveDriveItem API.
    • The API returns the DriveItem value to your output property variable.

Properties

The values for the following properties are specified when adding this activity to your project in UiPath Studio.

Common

DisplayName

The display name of the activity.

Attributes
Details

Type

String

Required

Yes

Default value

Move Item

Allowed values

Enter a String or String variable.

Notes

N/A


Input

Destination

The folder that you want to move your item to.

Attributes
Details

Type

DriveItem

Required

Yes

Default value

Empty

Allowed values

Enter a DriveItem variable.

Notes

  • Use the output property variable from
    the Find Files and Folders (First or Results) (see example image below).
  • If you're using the Results output property from the Find Files and Folders activity, specify the item in the array that you want to use (e.g., myFolders(0))

DriveItem

The file or folder that you want to move.

Attributes
Details

Type

DriveItem

Required

Yes

Default value

Empty

Allowed values

Enter a DriveItem variable.

Notes

  • Use the output property variable from
    the Find Files and Folders (First or Results) (see example image below).
  • If you're using the Results output property from the Find Files and Folders activity, specify the item in the array that you want to use (e.g., myWorkbooks(0))

NewItemName

The new name for your moved file or folder.

Attributes
Details

Type

String

Required

No

Default value

Empty

Allowed values

Enter a String or String variable.

Notes

  • If moving a file, include the file type extension of the item that you're moving (e.g., "MoveItem.docx").

Output

MovedDriveItem

The DriveItem object that represents your moved file or folder.

Attributes
Details

Type

DriveItem

Required

No (recommended if you plan to use the output data in subsequent activities)

Default value

Empty

Allowed values

Enter a DriveItem variable.

Notes

N/A


Misc

Private

If selected, the values of variables and arguments are no longer logged at Verbose level.

Attributes
Details

Type

Checkbox

Required

No

Default value

Not Selected

Allowed values

Selected or Not Selected

Notes

N/A


Example

The following image shows an example of the activity dependency relationship and input/output property values.

For step-by-step instructions and examples, see the Quickstart guides.

Updated 3 months ago


Move Item


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.