Move Item

Move Item enables you to move a folder or file from one folder to another folder of your OneDrive 365 application.

Using Move Item feature

  1. Make sure the prerequisites for using Office 365 activities are met.
  2. Drag the OneDrive 365 activity and drop it below the OAuth activity inside the Application activity block. The validation error symbol disappears when you select at least one feature from the available list.

  3. In the Access Token list, select the argument holding the access token retrieved using the OAuth activity
  4. In the Feature list, select Get Item.
  5. Click the   (Setting) icon to configure the input parameters as defining the source folder path or configuring the advance options. The Input Configuration screen appears.

    1. Ensure to define all the input parameters as an in argument in the Parameter bar for selection in the mandatory and advanced options.
      1. Mandatory Options:
        1. In the Item Path list, select the parameter holding the path along with the folder or file name to retrieves its metadata. 
        2. In the Conflict Behavior list, select the action that must be taken if the specified folder name already exits at the location where the folder is getting created. Available options are:
          • fail: aborts the operation.
          • rename: renames the new folder by adding a numeric suffix to it. For example, if you specify a folder name as dev and a duplicate folder exists with the same name, a new folder dev 1 gets created.
      2. Advanced Options: These are optional parameters that lets you define additional input options such as destination path or new name for the file you are moving.

        1. Click Advanced Options and select Destination Path from the newly created row. 
        2. In the Destination Path list, select the parameter holding the path along with the folder to move the content. If the destination folder is not defined, by default, the copied content is moved inside the root folder of your OneDrive application.
        3. Click Advanced Options and select New Item Name in the newly created row. 
        4. In the New Item Name list, select the parameter holding a name to rename the folder or the file being moved. 
        5. Click Delete corresponding to a parameter you want to remove from the list of specified input parameters.  
    2. You can select the Is Default Value checkbox to set the selected input parameter as the default value.
    3. Click Confirm to save the configuration.
  6. In the Output list, select the parameter to map the status of the operation performed. You must pre-define the parameter as an out argument to make it available for the selection. 
  7. Save the process. The OneDrive 365 process with the Move Item operation is created and saved. 
  8. In the Tool bar, click Test Run, and then click Setup Environment.