Rename File or Folder

Estimated reading: 2 minutes

The Rename File or Folder activity updates the name of an existing file or folder at its specified location within SharePoint.

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 rename: Select the file or folder to rename from the SharePoint document library. You can browse the document library and choose the required file or folder from the available list.

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

Properties

INPUT

File or Folder to rename: Select the file or folder to rename from the document library. You can choose an item from the available list.

Is Folder: Specify whether the selected item is a folder.
True: Treat the selected item as a folder.
False: Treat the selected item as a file.

New Name: Enter the name of the new folder or file.

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 set to False.

Version: Displays the current version of the activity.

OUTPUT

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

Rename File or Folder

Or copy link

CONTENTS
Robility Chatbot
Robility Assistant
Online