Box - Lock/Unlock a file

The Box - Lock/Unlock 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. can either enable or disable access to a file in Box.

You can also set the amount of time a file is locked for, and disable downloading locked files.

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

Configure the Box - Lock/Unlock 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 how you want to specify the source folder.
  4. Specify the File path or File ID:
    • File path: The path to the file you want to lock or unlock. You can also browse the folder structure using the browse icon ().

    • File ID: The unique identifier file ID number.

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 - Lock/Unlock 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 Box connection to use for accessing the file.

(n/a)

Source

 

 

Select a source type

Select how the action finds the file in Box:

  • Path: location in Box directory.
  • File ID: unique file identifier number.

(n/a)

Path

Displays when you select the Path source type.

The location in Box where the workflow accesses the file from. 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 State

Lock/Unlock

Select:

  • Lock to enable access to the file in Box.
  • Unlock to prevent access to the file in Box.

(n/a)

 

Lock duration

Displays when you select the Lock File state.

The amount of time the file in Box is locked for.

(n/a)

 

Disable download

Displays when you select the Lock File state.

Select Yes to prevent the file from being downloaded while it is locked.

(n/a)