Microsoft OneDrive for Business - Copy a file

The Microsoft OneDrive for Business - Copy a file action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. copies a file from one folder to another folder in your Microsoft OneDrive for Business account.

For more information about Microsoft OneDrive for Business, go to Microsoft OneDrive for Business.

Configure the Microsoft OneDrive for Business - Copy a file action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.

  2. Select a Connection. If you do not have a connection, see Add a connection.
  3. Click the Microsoft OneDrive for Business - Copy a file action.
  4. For Source, select Path or File variable.
  5. One of the following fields are displayed depending on what you selected for Source:
    • Path: Type a path to the file to copy. You can also browse the folder structure using the browse icon ().
    • File variable: Select the file variable.
  6. Under Destination, in Path, type the path where you want to copy the file to. You can also browse the folder structure using the browse icon ().
  7. Select an option for Overwrite file.

Microsoft OneDrive for Business - Copy a file action fields, buttons, and settings

Section

Field

Description

Variable types

(unlabeled)

Connection Credentials and other settings that enables workflows to communicate with external systems, services, or applications. It's required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Microsoft OneDrive for Business connection to use for the copy operation.

(n/a)

Source

Source

Source file:

  • Path: location in Microsoft OneDrive for Business directory.
  • File variable: file stored in a variable in the current workflow.

(n/a)

 

Path

Displays when you select the Path source type.

The location in Microsoft OneDrive for Business where the workflow retrieves the file to copy. Accepts any combination of typed text, text added through navigation (), and inserted variables.

Boolean, DateTime, Decimal, Integer, Text

 

Variable

Displays when you select the File variable source type.

The file to copy to the destination path. Accepts an inserted variable.

File

Destination

Path

The location in Microsoft OneDrive for Business where the workflow copies the file to. Accepts any combination of typed text, text added through navigation (), and inserted variables.

Boolean, DateTime, Decimal, Integer, Text

 

Overwrite file

If selected Yes, overwrites existing file with the same name in the destination. Accepts either a selection from the drop-down list or an inserted variable.

Boolean

 

Store file as a variable

Variable to store the destination file. Use variable further along the workflow. Accepts an inserted variable.

File

 

Store new path as a variable

Variable to store the path of the destination file. Use variable further along the workflow. Accepts an inserted variable.

Text