Skip to content

Vault Operations ​

Performs a file or folder management operation in Autodesk Vault, including rename, copy, delete, and move actions.

Purpose ​

Use this task when a workflow needs to reorganise content within Vault without going through the Vault client manually. Common scenarios include renaming a file after a lifecycle transition, moving a completed drawing to an archive folder, copying a template file to a new project location, or clearing out a staging folder after processing. The operation type is selected at design time, and the task exposes only the fields relevant to that operation.

Inputs ​

FieldTypeRequiredDescription
Operation TypeDropdownYesThe operation to perform: Rename File, Copy File, Delete File, Move File, Rename Folder, Copy Folder, Delete Folder, or Move Folder Contents.
File IdentifierTextYesThe file to operate on. Accepts a Vault path ($/path/to/file.ext), numeric file ID, or file name.
Folder IdentifierTextYesThe folder to operate on. Accepts a Vault path ($/path/to/folder) or numeric folder ID.
New NameTextYesThe new name for the file or folder. For files, include the extension. For folders, provide only the folder name.
Destination Folder IdentifierTextNoDestination folder ID or Vault path. Use this or Destination Folder Path, not both.
Destination Folder PathTextNoDestination folder as a full Vault path. The folder is created if it does not already exist. Use this or Destination Folder Identifier, not both.
Include SubfoldersCheckboxNoWhen enabled, recursively copies all subfolders and their contents. When disabled, only files in the root folder are copied.

Visibility Rules ​

File Identifier is only shown when Operation Type is set to Rename File, Copy File, Delete File, or Move File.

Folder Identifier is only shown when Operation Type is set to Rename Folder, Copy Folder, Delete Folder, or Move Folder Contents.

New Name is only shown when Operation Type is set to Rename File or Rename Folder.

Destination Folder Identifier is only shown when Operation Type is set to Copy File, Move File, Copy Folder, or Move Folder Contents.

Destination Folder Path is only shown when Operation Type is set to Copy File, Move File, Copy Folder, or Move Folder Contents.

Include Subfolders is only shown when Operation Type is set to Copy Folder.

Operations ​

OperationWhat it does
Rename FileRenames a single Vault file in place using a checkout/checkin process.
Copy FileDownloads the file and uploads a copy to the destination folder.
Delete FilePermanently removes the file from its Vault folder.
Move FileMoves the file to a different Vault folder.
Rename FolderRenames a Vault folder without moving its contents.
Copy FolderCreates a copy of the folder and its files in the destination; optionally includes all subfolders.
Delete FolderDeletes an empty Vault folder. Fails if the folder contains files or subfolders.
Move Folder ContentsMoves all files from the source folder into the destination folder, leaving the source folder empty.

Outputs ​

NameDescription
VaultFileThe resulting Vault file object after the operation. Populated by Rename File, Copy File, and Move File.
DestinationFolderThe destination folder object. Populated by Move File and Move Folder Contents.
VaultFolderThe resulting Vault folder object. Populated by Rename Folder and Copy Folder.
SourceFolderThe source folder object used during Move Folder Contents.
FilesMovedCountNumber of files successfully moved. Populated by Move Folder Contents.
FilesFailedCountNumber of files that could not be moved. Populated by Move Folder Contents.
DeletedFileNameName of the file that was deleted. Populated by Delete File.
DeletedFileMasterIdMaster ID of the deleted file. Populated by Delete File.
DeletedFolderNameName of the folder that was deleted. Populated by Delete Folder.
DeletedFolderIdID of the folder that was deleted. Populated by Delete Folder.

Tentech