This example explains a simple setup for creating development and production environments. The setup can be extended to include multiple environments and multiple Git branches.Requirements:
Empty Git Repository
Two Projects in Activepieces: one for Development and one for Production.
Please note that the credentials will not be synced automatically. You should manually create identical credentials with the same names in both environments.
You can trigger a pull from the Git Repository button in Activepieces. This action will replace all flows in the project with those from the git repository.
All flows that are enabled in production will be updated and republished, If a flow fails to republish, a new version will be created as a draft.
All flows that are not in the git repository will be deleted.
New flows created in production will be disabled by default.
To manage your approval workflow, you can use Git by creating two branches: development and production. Then, you can use standard pull requests as the approval step.