Activities
latest
false
Banner background image
Productivity Activities
Last updated Apr 26, 2024

Move File or Folder

UiPath.GSuite.Activities.MoveFileConnections

Description

Moves a file or folder on Google Drive.

Scopes

This activity requires the following scopes:

  • https://www.googleapis.com/auth/drive.appdata
  • https://www.googleapis.com/auth/drive.scripts
  • https://www.googleapis.com/auth/drive.metadata
  • https://www.googleapis.com/auth/drive

Project compatibility

Windows | Cross-platform

Configuration

  • Google Drive connection - The connection for the Google Workspace account to use in the activity.
  • File or folder to move - The file or folder to be moved. Browse the Google Drive folders and select a file or folder. Use the See more button menu to switch to Use variable (IResource type) or Url or ID input (String) modes.
    • If you select Use variable, you can use the output variable from other activities.
    • Select the Reload File Picker option if you've modified your folders and need to retrieve the latest data.

  • Destination folder - The destination folder for the specified file. Browse the Google Drive folders and select a destination folder. Use the See more button menu to switch to Use variable (IResource type) or Url or ID input (String) modes.
    • If you select Use variable, you can use the output variable from other activities.
    • Select the Reload File Picker option if you've modified your folders and need to retrieve the latest data.

  • New name - The new name of the moved file/folder. If left blank, the moved file/folder retains the original name. Use the See more button menu to switch to Use variable input mode. This property supports String variables and string formatted values.
  • If file or folder already exists - What to do if a file or folder already exists. Choose one of the available options from the dropdown menu:
    • Add as a separate file - Adds the file without renaming it even if an item with the same name exists.
    • Don't replace - Fails if an existing item is found.
    • Auto rename - Auto renames the new item by appending a number.
    • Replace - Replaces the existing item. Fails if multiple items with the same name exists.
Additional options

Output

  • File or folder - The moved file/folder. Automatically generated output variable. You can use it as it is or save it with a different name. You can use this in other activities.

Example



See also:
  • Description
  • Project compatibility
  • Configuration
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.