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. 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
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
- Select a Connection. If you do not have a connection, see Add a connection.
- Click the Microsoft OneDrive for Business - Copy a file action.
- For Source, select Path or File variable.
- 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.
- 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 ().
- Select an option for Overwrite file.
Microsoft OneDrive for Business - Copy a file action fields, buttons, and settings
Section |
Field |
Description |
Variable types |
---|---|---|---|
(unlabeled) |
The Microsoft OneDrive for Business connection to use for the copy operation. |
(n/a) |
|
Source |
Source |
Source file:
|
(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 |