Skip to main content
Activepieces maintains a complete version history of your workflows, allowing you to track changes, compare versions, and rollback when needed.

Understanding Flow Versions

Every flow has multiple versions over its lifetime:

Draft Version

Your working copy. Only one draft exists per flow. Editable and unpublished.

Locked Versions

Published versions. Immutable historical records. Multiple can exist.

Version States

  • One per flow: Only the current working version
  • Editable: Can be modified at any time
  • Unpublished: Not running in production
  • Overwritten: Changes overwrite the draft

Version Lifecycle

1

Create Flow

When you create a new flow, a draft version is created:
2

Edit Draft

Make changes to the draft version. Changes are auto-saved:
3

Publish

Publishing creates a new locked version:
4

Continue Editing

After publishing, continue editing the draft:
5

Publish Again

Each publish creates a new locked version:

Viewing Version History

Version List

Access the version history from the flow builder:
Versions are listed newest to oldest, with user information showing who made changes.

Version Metadata

Each version shows:
  • Version ID: Unique identifier
  • Display Name: Flow name at that version
  • Valid: Whether all steps were valid
  • Updated By: User who created this version
  • Timestamp: When version was created
  • Schema Version: Flow schema version number

Using Version History

View a Previous Version

1

Open Version Selector

Click the version dropdown in the flow builder.
2

Select Version

Choose any locked version to view.
3

View Read-Only

The version opens in read-only mode:
4

Return to Draft

Click “Edit Flow” to return to the draft version.

Use Version as Draft

Restore a previous version to your draft:
1

View Previous Version

Select the version you want to restore.
2

Click 'Use as Draft'

This copies the version to your draft.
3

Review Changes

The draft now matches the selected version.
4

Publish (Optional)

If satisfied, publish to make it the active version.
Using a version as draft overwrites your current draft. Ensure you don’t have unpublished changes you want to keep.

Rollback Capabilities

Rollback to Previous Version

To rollback to a previous version:
  1. Open version history
  2. Select the version to restore
  3. Click “Use as Draft”
  4. Click “Publish” immediately
  5. Flow now runs the restored version

Version Comparison

While Activepieces doesn’t have built-in visual diff, you can compare versions:
1

Open First Version

View the first version you want to compare.
2

Note Key Differences

Review:
  • Trigger configuration
  • Number of actions
  • Action settings
  • Error handling options
3

Open Second Version

Switch to the other version.
4

Compare

Note differences in:
  • Step configuration
  • Data mappings
  • Connections used
Future versions of Activepieces may include visual diff tools for comparing versions.

Schema Versions

Flow versions track the schema version:
Schema versions track:
  • Flow structure format changes
  • New features added
  • Breaking changes

Schema Migration

Old versions are automatically migrated:
Schema migrations are automatic and backward-compatible. Old versions continue to work.

Version Metadata Tracking

Updated By User

Track who made changes:
  • User ID: Who created this version
  • User Info: Full user details (name, email)
  • Timestamp: When version was created

Connection Tracking

Versions track:
  • Connections: Which connections are used
  • Agents: Which AI agents are referenced

Version Backup and Recovery

Backup Files

Versions can include backup files for:
  • Code action source code
  • Sample data
  • Configuration files

Recovery

If a version is corrupted or lost:
  1. Version History: Access any locked version
  2. Backup Files: Restore from backup file IDs
  3. Export/Import: Export flow and import to new flow

Best Practices

Create locked versions regularly:
  • After significant changes
  • Before testing in production
  • When reaching stable states
  • Before major refactors
This gives you more restore points.
Update the flow display name to reflect major changes:
Always test your draft before publishing:
  • Run test flows
  • Verify all steps
  • Check data mappings
  • Review error handling
Use flow notes to document what changed:
  • Don’t publish incomplete work
  • Combine related changes into one publish
  • Use draft for experimentation
  • Only publish tested, working versions
Before making risky changes:
  1. Note current published version ID
  2. Make changes in draft
  3. Test thoroughly
  4. Publish
  5. Monitor closely
  6. Rollback if needed

Version Limits

Activepieces keeps all flow versions indefinitely. There’s no automatic cleanup or version limit.
This means:
  • ✅ Complete audit trail
  • ✅ Can rollback to any version
  • ✅ No data loss
  • ⚠️ Storage grows over time (minimal impact)

Troubleshooting

Problem: Old version not showing in history.Solutions:
  • Check pagination - versions may be on next page
  • Verify flow ID is correct
  • Ensure you have permission to view history
Problem: Error when copying version to draft.Solutions:
  • Ensure you have write permissions
  • Check if version exists
  • Verify flow is not locked by another user
Problem: Old version marked as invalid.Reasons:
  • Was published in invalid state (shouldn’t happen)
  • Schema migration issue
  • Piece version no longer available
Solutions:
  • View the version to see validation errors
  • Use as draft and fix issues
  • Contact support if migration issue
Problem: Published version but flow not executing.Check:
  • Is flow enabled? (Toggle must be on)
  • Check operationStatus - might still be enabling
  • Verify trigger configuration
  • Review trigger logs for errors

Next Steps

Publishing

Learn about publishing workflows

Debugging

Debug version issues

Templates

Create reusable templates

Best Practices

Workflow best practices