Box - Move a file

The Box - Move a file action A tool for building the processes, logic, and direction within workflows. moves a file to from one folder to another folder in Box.

For more information about the Box connector, go to Box.

Configure the Box - Move 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. In Select a source type, select Path, File ID or File variable.
  4. Specify the File path, File variable or File ID based on what you selected in Select a source type:
    • File path: The path to the file you want to move. You can also browse the folder structure using the browse icon ().

    • File ID: The unique identifier file ID number.

    • File variable: The file stored in a variable in the current workflow.

  5. Under Destination, in File path, type the file path where you want to move the file. You can also browse the folder structure using the browse icon ().
  6. Select an option for Overwrite file.

Maintain path integrity

Caution: If a file/folder that's used in a workflow is moved, renamed, or deleted, any workflows that use that file/folder will not start or will fail. Make sure you keep the paths in your workflow configurations up to date.

Box - Move a file action fields, buttons, and settings

Section

Field

Description

Variable types

(unlabeled)

Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Box connection to use for moving the file.

(n/a)

Source

Select a source type

Select how the action finds the file:

  • Path: location in Box directory.
  • File ID: unique file identifier number in Box.
  • File variable: file stored in a variable in the current workflow.

(n/a)

 

File path

Displays when you select the Path source type.

The location in Box where the workflow retrieves the file from to move to the destination path. Accepts any combination of typed text, text added through navigation (), and inserted variables.

Text, Decimal, Integer, Boolean, DateTime

 

File ID

Displays when you select the File ID source type.

The unique identifier number the action uses to access the file in Box.

Text, Decimal, Integer, Boolean, DateTime, Collection

 

File variable

The file to move to the destination path.

File

Destination

New file path

The location in Box where the workflow moves the file to. Accepts any combination of typed text, text added through navigation (), and inserted variables.

Text, Decimal, Integer, Boolean, DateTime

 

Overwrite file

Select Yes to overwrite an existing file with the same name in the destination.

Boolean

Output Output

Object variable to store the following details of the destination file.

  • Destination file ID: (Text) The ID of the destination file.

  • Destination path: (Text) The destination file path.

Object