Skip to main content
A branch is a working copy of a workspace where you build and test configuration changes in isolation, then deploy them back to the parent workspace. Branching uses the same review and deployment flow as any other deployment.

Before you begin

  • Turn on branching for the workspace. Branching is off by default. In the workspace, go to Settings → Capabilities and, under Deployments, turn on Branching. For more information, see Turn on branching.
  • Have permission to create branches. Creating a branch requires the Create branches permission on the workspace. Without it, you can still open branches you have access to.
You can branch a standard workspace. You can’t branch a branch, a personal workspace, or the organization’s management workspace.
In the classic sidebar layout, a Working in branch banner at the top of the branch holds Pull latest and Promote changes (the classic label for Deploy).

Create a branch

1

Open the workspace's branches

Open the workspace switcher and select the branch icon next to the workspace (Branches for [workspace]). The icon appears only when the workspace has branching turned on. The list shows the branches you can access. Use Search branches by name or prefix to find one.
2

Create the branch

Select Create branch… (Create branch if the workspace has no branches yet), enter a Branch name, and select Create branch. Serval copies the workspace’s supported configuration and its members and groups that have built-in roles, and makes you a Manager of the branch. Members who have only custom roles aren’t copied.
3

Open the branch

Catalyst opens in the branch when it’s ready, while configuration finishes copying in the background. The workspace switcher shows the branch and its parent workspace.
If Serval finds a problem before it creates the branch, the list shows Branch setup needs attention. Select Review setup to see what needs fixing. To reopen a branch later, open the workspace’s branches again and select the branch. Branches you created also appear in the workspace switcher.

Build and test in the branch

Make your changes in the branch and publish workflows, skills, and forms, then run the relevant simulations or workflows to test them. Integrations in a branch use the parent workspace’s connection by default. To give the branch its own connection, select Connect for this workspace.
Shared and copied connections reach the same external system and can perform writes. Connect the branch to a separate test account when you need isolated testing.

Pull latest

As the parent workspace changes, bring those updates into your branch. In the header, open Branch actions (the arrow next to Deploy) and select Pull latest. Pulling compares the parent and branch against their shared configuration and keeps the changes you made independently in the branch. The pull opens a review for you to apply. In some workspaces, eligible updates apply automatically and only the rest open a review. If the parent changed a resource that your branch also changed since your last pull, Serval blocks the deployment until you select Pull latest and finish that review. Parent changes your branch didn’t touch aren’t included in the deployment.

Resolve conflicts when you pull

If the parent and branch changed the same resource differently, the pull shows a conflict advisory. Applying it uses the reviewed parent version for those resources and keeps your independent branch changes. Serval doesn’t merge individual fields automatically.
  • A deleted resource. When the parent deleted a resource, the pull includes that deletion if the resource type supports it. When your branch deleted a resource that the parent edited, applying restores the parent version. Both cases appear in the advisory.
  • A missing app or a name conflict. If a workflow in the pull needs an app that isn’t connected in your branch, or a parent resource conflicts by name with a separate branch resource, the pull stops before changing your branch. Connect the same app account in the branch, or rename the conflicting resource, then pull latest again.

Deploy changes back to the parent

When your changes are ready, deploy them back to the parent workspace. In the header, select Deploy to open the deployment review. The review, gates, and apply steps work the same as any deployment: see Deploy changes.

Recover from a failed pull or deployment

A pull or deployment applies resource by resource. If some resources fail, the successful ones take effect and the failed ones keep their previous versions. You can retry the saved review. To start fresh instead, select Pull latest for a new pull, or Deploy for a new deployment.
A finished pull attempt lets you deploy against the parent configuration it attempted, even if some resources failed to pull. That deployment can overwrite parent changes that failed to pull, or recreate deleted resources. Review the selected changes before you apply them, and pull again to pick up new parent changes.

Delete the branch

After you merge a branch’s changes, delete it from the workspace switcher: select the delete icon (Delete branch [name]) on the branch’s row, then select Delete branch. Only the branch’s creator can delete it, and only while they still manage the branch. Deleting removes the branch workspace and its connection to the parent. The parent workspace and the changes already merged into it aren’t affected, but any unmerged work becomes unavailable. Deleting a branch can also affect resources it shares with other workspaces. This can’t be undone in the app.