For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Manage file versions

note

With 8.7, "milestone" has been renamed to "version". To learn more about this change, see the related release note.

Every BPMN diagram, DMN diagram, form, RPA script, README file, and test file keeps a version history, a single timeline of the autosaves and named versions created as you work. You can open that history to view an earlier state of the file, compare any two entries, restore an entry, or copy one to another project.

A version is a Camunda Hub snapshot of a file, not a deployed process definition version. See version (file).

Files with a version history

The version history page is the same for every file type that uses it:

File typeVersion history URL
BPMN or DMN diagram/diagrams/<id>/versions
Form/forms/<id>/versions
RPA script/rpa-scripts/<id>/versions
README file/readmes/<id>/versions
Test file/tests/<id>/versions

Element templates and connector templates do not use this page or version history. They use numbered template versions that you publish to your project or organization. Restoring an element template version publishes its content as a new numbered version; there's no autosave step, since the previous published version remains available in the versions list. See versioning element templates.

note

Links that use the older /milestones/<slug> path redirect to the equivalent /versions/<slug> path, so existing bookmarks and shared links keep working.

Open the version history of a file

You can open the version history in the following ways:

  • From the file editor, in the top right of the modeling interface, click Versions > Show versions.
  • From a deep link to a single entry, such as a See version link from Copilot. The link opens the history with that entry selected.

Create a version

You can create a new version either from your file or from the version history.

  • From your file, in the top right of the modeling interface, click Versions > Create version.
  • From the version history, in the Versions tab, next to the draft, click Create new version.

Read the version history

The version history lists every entry for the file, newest first. Autosaves and named versions appear in the same list.

Each entry shows the following information:

ElementDescription
NameThe name of the version, or the autosave label.
DescriptionThe optional description entered when the version was created or edited.
Date and timeThe exact time the entry was captured.
Created byThe author of the entry.
Current stateShown at the top of the version history as a draft when the file has unsaved changes.
In a snapshotShown when the entry is captured in a project snapshot. You cannot delete an entry with this badge.

Select an entry to view it in the viewer next to the version history.

Compare versions

You can compare any two entries in the version history, including entries that are not next to each other in the history.

The version history page has two tabs:

  • Versions: the version history of every entry for the file.
  • Compare versions: the comparison of two entries you select.

To compare two entries:

  1. Open the version history for your file.
  2. Select the Compare versions tab.
  3. Select the first entry you want to compare.
  4. Select the second entry you want to compare.

The comparison shows the older entry against the newer one, ordered by time regardless of the order you selected them. The selected pair is written to the URL as /<file-type>/<id>/versions/<olderEntryId>...<newerEntryId>, so you can share or bookmark a specific comparison.

Compare versions in visual view

To view BPMN diagram changes visually, select the Visual view tab.

  • Differences between the versions are highlighted visually on the diagram. For example, if an element was added, this change is highlighted in green with a plus symbol. Hover over a change to view more details.
  • Only differences that affect the execution of the BPMN process are highlighted.
  • The sidebar Changes list shows the details of each change, including the type and identifier. Select a change to highlight it.
note

DMN comparisons are available in the Code view only. The Visual view tab is disabled with the hint "Visual view is not supported for DMN comparisons".

Compare versions in code view

To view BPMN and DMN diagram changes as code in an XML diff layout, select the Code view tab.

  • The XML for the older entry is shown on the left, with the newer entry shown on the right.
  • Differences between the versions are highlighted in the XML. For example, if an element was added, this change is highlighted in green.

Version actions

To act on an entry in the version history, open the entry's vertical ellipsis:

ActionDescription
RestoreRevert the file to the content of this entry. Disabled when the entry already matches the current file.
EditUpdate the name and description of the entry.
Copy to projectCreate a new file from this entry in a project and folder you choose.
DeletePermanently delete the entry. Disabled for an entry with the In a snapshot badge.

Restore a version

The file content changes to the content of the restored version, and the version history is refreshed with up to two new entries:

  • A safety autosave that captures the state of the file before the restore. This entry is only added if that state differs from the most recent saved entry.
  • The restored entry, with (restored) appended to its name. This entry is selected in the viewer after the restore completes.

Restore is disabled when the content of the entry already matches the current file.

Delete a version

An entry captured in a project snapshot cannot be deleted. Delete is disabled for these entries.

caution

Deleting a version is permanent. You cannot access a deleted version, and it is removed from the version history.