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
-
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.
- In Select a source type select how you want to specify the source folder.
- 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) |
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:
|
(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 ( |
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:
|
(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) |