Move Item

Moves a file or a folder from one directory to other.

This activity moves a user-specified file or folder to a new parent folder using the Microsoft Graph Move item API. It also facilitates file renaming for the newly moved file.

Input

  • Connection Id: GraphServiceClient Variable Required Specifies the office 365 connection id.

  • Drive Item: Object Argument Required Specifies the file or folder that is to be moved as a DriveItem. We can also specify the output variable of Find Files And Folders activity (which is First or Results) directly as input in this property. If we are using the Results property of Find Files And Folders activity then we can directly specify the element in the array. For example : Results[1].

  • Destination:FilePathEditorData Argument Specifies the directory to which a specific item is to be moved as a DriveItem. If the property field is left empty, the file/folder will be copied to the project directory by default. We can also specify the output variable of the Find Files And Folders activity (which is First or Results) directly as input in this property. If we are using the Results property of the Find Files And Folders activity then we can directly specify the element in the array. For example : Results[1].

  • New Item Name: String Argument Specifies the name of the item(file or folder) after it's copied. In the case of the file that is being copied include the file extension along with the name in this property. For eg: NewSample.xlsx.

Output

Last updated