Skip to content

Vault Update File Data

The Vault Update File Data node updates file metadata in Autodesk Vault, including category, lifecycle definition, lifecycle state, revision definition, and revision number.

Purpose

Use this node to programmatically manage and update Vault file data as part of automated release, status update, or document control workflows.

Inputs

Field LabelInput TypeDescription
File IdentifierTextThe identifier of the file in Vault to update.
Category (optional)TextThe new category to assign to the file.
Lifecycle Definition (optional)TextThe lifecycle definition to assign to the file.
Lifecycle State (optional)TextThe lifecycle state to update for the file.
Revision Definition (optional)TextThe revision scheme to assign to the file.
Revision Number (optional)TextThe revision number label to update for the file.

Outputs

Output VariableDescription
VaultFileThe updated Vault file object after all changes are applied.

Functionality

This node:

  1. Validates required input (File Identifier). Optional inputs are updated if provided.
  2. Retrieves service account tokens for Autodesk Vault and general Autodesk authentication.
  3. Establishes a Vault connection using these service accounts.
  4. Retrieves the specified file from Vault by its identifier.
  5. Performs updates for each optional field provided:
    • Updates Category if specified.
    • Updates Lifecycle Definition if specified.
    • Updates Lifecycle State if specified.
    • Updates Revision Definition if specified.
    • Updates Revision Number if specified.
  6. Retrieves the updated file and stores it in VaultFile.

Example Use Case

✅ Automatically set lifecycle state to “Released” after design approval.
✅ Update file category to “As Built Drawings” upon project completion.
✅ Change revision scheme and set the revision number when issuing a new version.

Task Success Criteria

  • Success: All specified updates are applied successfully, and the updated file is returned as VaultFile.
  • Failure: If Vault connection, file retrieval, or any update operation fails, the task returns a descriptive error message indicating the failure point.

Notes

  • Ensure ServiceAccount-Autodesk Vault and ThirdParty-Autodesk service accounts are configured with valid credentials and have permissions to update file data.
  • The output (VaultFile) is the updated file object reflecting all successful changes.

Tentech 2024