Skip to content

Commit

Permalink
Merge pull request activepieces#5167 from activepieces/docs/versioning
Browse files Browse the repository at this point in the history
docs: add flow verisoning
  • Loading branch information
abuaboud authored Jul 23, 2024
2 parents 1bc2e18 + df77ca9 commit e493553
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions docs/flows/versioning.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Version History"
icon: 'clock'
description: "Learn how flow versioning works in Activepieces"
---

Activepieces keeps track of all published flows and their versions. Here’s how it works:

1. You can edit a flow as many times as you want in **draft** mode.
2. Once you're done with your changes, you can publish it.
3. The published flow will be **immutable** and cannot be edited.
4. If you try to edit a published flow, Activepieces will create a new **draft** if there is none and copy the **published** version to the new version.

This means you can always go back to a previous version and edit the flow in draft mode without affecting the published version.

![Flow History](/resources/flow-history.png)

As you can see in the following screenshot, the yellow dot refers to DRAFT and the green dot refers to PUBLISHED.
3 changes: 2 additions & 1 deletion docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
"flows/building-flows",
"flows/passing-data",
"flows/publishing-flows",
"flows/debugging-runs"
"flows/debugging-runs",
"flows/versioning"
]
},
{
Expand Down
Binary file added docs/resources/flow-history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e493553

Please sign in to comment.