Move File or Folder

Estimated reading: 2 minutes

The Move File or Folder activity moves a specified file or folder to a destination folder within a SharePoint document library. You can also specify a new name for the moved item.

Prerequisites

A valid Project Key is required in the Publish Console to access and publish workflows successfully.

Activity Details in Canvas

Microsoft 365*: Select a Microsoft 365 account from the available connections. The selected account is used to authenticate and access SharePoint.

File or Folder to Move: Select the file or folder to move from the document library. You can select an item using the folder picker or provide a variable containing the file or folder path.

Destination Folder: Select the destination folder in the document library where the file or folder will be moved.

New Name: Enter a new name for the moved file or folder. You can enter the name directly as text or provide a String variable containing the new name.

Properties

INPUT

If file already exists: Select how to handle a file with the same name in the destination folder:
Replace: Overwrite the existing file.
Don’t Replace: Skip the operation and keep the existing file unchanged.
Auto Rename: Automatically rename the new file to avoid a naming conflict.

MISC

DisplayName: Specifies the display name of the activity. This value can be customized to improve workflow readability and troubleshooting.

SkipOnError: Specifies whether the workflow execution should continue when the activity encounters an error.
True: The workflow continues execution even if an error occurs.
False: The workflow stops execution when an error occurs.
None: The default value is False.

Version: Displays the current version of the activity.

OUTPUT

Folder Detail (o365DriveRemoteItem): Specifies a variable to store the details of the destination folder. The variable is populated after the activity executes successfully and can be used to access the folder information in subsequent workflow steps.

Result: Returns a Boolean value indicating the execution status of the activity.
True: The activity executed successfully.
False: The activity failed due to an unexpected error.

Share this Doc

Move File or Folder

Or copy link

CONTENTS
Robility Chatbot
Robility Assistant
Online