Autodesk · Arazzo Workflow
Autodesk Add a New Version to an Existing File
Version 1.0.0
Search a folder for a file, read its current tip, create a new version, and list the version history.
View Spec
View on GitHub
Fortune 10003D ModelingArchitectureBIMCADConstructionDesignDigital TwinsEngineeringManufacturingMedia and EntertainmentSustainabilityArazzoWorkflows
Provider
Workflows
add-new-file-version
Version an existing project file rather than replacing it.
Searches a folder hierarchy for the item by display name, reads the item to capture its current tip, creates a new version bound to a storage object, and lists versions to confirm the history.
1
findExistingFile
searchFolder
Search the folder hierarchy for the file by display name. Search walks subfolders, unlike a plain folder contents listing, and requires the data:search scope.
2
readCurrentTip
getItem
Read the item to capture the version that is currently the tip, so the caller can tell what it is superseding.
3
createNewVersion
createVersion
Create the new version, relating it to the existing item and to the storage object holding the new bytes. This becomes the item's tip.
4
listVersionHistory
getItemVersions
List the item's versions to confirm the new version is present and is now the most recent entry in the history.