Merge Changes
Merge transfers changes from the current working branch into master. If you need to update the working branch with changes from master or another branch, use branch synchronization.
Merge transfers selected changes from the working branch into the main master branch.
In SysCraft, merge is not applied blindly: before applying anything, the system builds a list of differences between branches, groups changes by type, lets you select specific leaf changes, and allows you to visually verify the changes on the diagram.
When Merge Is Available
Merge is available if:
- a landscape is selected;
- a working branch is selected;
- the user has permission to merge any branch or permission to merge their own branches;
- the current branch is not master.
The master branch is the main branch and is not merged into other branches through this action. The working branch is merged into master.
If the user has permission to merge only their own branches, merge is available for branches they own. To merge another user's branch, the user needs permission to merge any branch or full access at the landscape or organization level.
In addition, a merge process can be enabled at the landscape level. In that case, merge permission alone is not enough: before moving changes, the system may require approval from a group, a separate request to an execution group, or both. These rules are configured in Landscape Settings.
If the landscape has the "Master branch read-only" policy enabled, this does not disable merge. On the contrary, merge becomes the main way to change master: the user works in a branch, reviews the diff tree, and transfers selected changes into master through the merge process.
There are four possible modes:
- direct merge - a user with merge permission transfers selected changes themselves;
- merge with approval - the branch author sends the branch for review to an approval group, and after approval of the current version may apply the changes themselves if they have merge permission;
- merge through an execution group - the branch author starts the merge process, and a member of the execution group performs the transfer into master;
- approval and execution group - one process card first goes through approval of the current version, then moves to executors, and only a member of the execution group applies the changes.
In this guide, the word "review" means checking the diff tree, visual preview, and discussion in the process chat. There is no separate "Send for review" button: review is performed through "Request Approval" or "Request Merge", depending on landscape settings.
Open Merge
- In the top bar, select the required working branch.
- Open the branch menu.
- Select Merge.
After launch, the system collects data for merge and builds the changes tree.
Viewing the diff tree also requires permission to view branch changes. If the user can open the branch menu but cannot get the diff tree, check the "View changes in own branches" or "View changes in any branches" permissions.
Participants in the merge process can access the diff tree through the process itself. For example, a member of the approval or execution group must be able to see the change set in order to decide on the request, even if they do not have a separate permission to view all branch changes.
Branch Differences Window
After analysis, the "Branch Differences" window opens.
It displays the tree of changes found between the working branch and master.
Changes are grouped into sections:
- Other - domain changes and other service changes;
- Objects - actors, systems, containers, components, and specialized elements;
- Integrations - links between elements;
- Diagrams - created, deleted, and changed diagrams;
- Data Flows - created, deleted, and changed flows and their steps.
For groups, the system shows the number of:
- new;
- deleted;
- changed.
Merge Window Buttons
The merge window uses:
- Reset Selection - clears the current marks and returns the tree to its initial selection state;
- Apply Changes - starts transferring the selected changes into master if the merge process does not require additional actions;
- View Differences - opens visual preview for a diagram or flow, if preview is available;
- Close - closes the window without applying changes;
- tree search - helps find an object, diagram, flow, or domain.
Before clicking "Apply Changes", check the counter of selected leaf changes.
If a merge process is enabled on the landscape, the "Merge Process" panel appears above the tree of changes. It may include:
- the "Message to Process Participants" field - a comment for the approval or merge request;
- the "Lock branch until process completion" toggle - temporarily prevents changes after the selected set is sent for approval;
- "Request Approval" - creates a request for the approval group;
- "Withdraw Request" - cancels the initiator's request and removes the lock they set;
- "Approve" - confirms the approval request by a group member;
- "Reject" - rejects the approval request;
- "Request Merge" - transfers the same process to the merge execution group;
- "Reject Request" - rejects the merge request by a member of the execution group;
- progress checkboxes - automatically remember the portion of the approved set marked by the executor and record the change in the log;
- "Merge Completed" - after confirmation, transfers into master only the changes that remain marked by the executor at the moment the button is clicked, and separately closes the process;
- "Shared Process Chat" - a single discussion thread that persists through approval, rework, and merge stages.
Merge Process
The merge process helps divide responsibility between the author of the changes, approvers, and merge executors. It is enabled through landscape settings and applies to the working branches of that landscape.
In the "Tasks" section, the process appears as a single card on the "Merge Processes" tab. Internal approval and execution operations may be stored separately, but they do not become separate user requests: from start to completion, one process ID, one branch, and one chat are preserved.
The card is visible to participants in all configured process groups, to users who can initiate the process for this branch, and to participants in the shared chat. Therefore, observation is not limited to a single initiator: colleagues from the same group can follow the process stage and continue work within their authority.
Process Roles
For each landscape, you can select several groups in each of the four roles:
- approval initiators;
- change approvers;
- merge initiators;
- merge executors.
A role is determined by the user's participation in at least one selected group. Permissions for branch operations continue to apply together with process roles. If the process is not configured, merge is performed according to ordinary permissions.
Change Approval
The initiator selects only the changes in the tree that they want to approve, adds a message, and decides whether to lock the branch. If a mandatory lock is enabled in the policies of the selected landscape, the toggle is already set and cannot be changed.
After submission, the system records the exact set of changes. The initiator can no longer change the checkboxes, but can withdraw the request. The approver clicks the request row in "Tasks", after which the process form opens over the current screen. All changes in the working branch remain visible in the tree, and a separate mark shows the immutable set that the initiator sent for approval. Changes outside that set are available for analysis but are not part of the decision. The approver can review differences, open diagrams and dependencies, discuss the decision in chat, approve, or reject the request.
If an unlocked branch changes after submission, the request becomes outdated. It disappears from the incoming tasks of approvers and executors, and the server rejects any attempt to approve or merge it with a clear message. A new request is required for the new branch version.
Merge Request and Execution
After approval, a member of the merge initiator group transfers the same process to the executors. The full list of branch changes remains visible for context, but the process set remains the same: changes outside the approved set cannot be added. The card ID and shared chat do not change during the transition.
The executor marks the part of the approved set that has already been completed. In the tree, the first square indicator shows the fixed selection made by the initiator and approved. The second circular indicator shows executor progress; in a completed process, the mark in the circle means that the change has actually been transferred into master. The progress indicator is active only for approved changes; all other rows are visible but cannot be marked.
Every progress mark change is saved automatically, confirmed with a green notification, and added to the process history with the user, time, and previous and new progress composition. Moved a change into the current architecture - set the mark; rolled it back - clear it. You can return to the task later and adjust the marks. While the approved set has not been fully transferred, close the form without finishing: the process will remain active, the branch will remain locked, and executors will be able to continue later. The initiator, meanwhile, retains the ability to withdraw the request.
When the work is complete, the executor clicks the separate "Merge Completed" button and confirms the action. Only at this moment are the changes that remain marked by the executor transferred into master. Changes from the working branch that were not included in the initiator's fixed request are not part of this process and, if needed, go through the next cycle separately.
Chat and Process History
The process form shows general information at the top. Below it are the "Shared Process Chat" and "History" tabs, and below them the full set of changes. The "History" tab is immediately filtered to the open process. For each progress change, it shows the user, date and time, and the exact set of marks added and removed. Merge completion is recorded as a separate entry with the actually transferred set.
Process history does not replace model history: it answers a different question - who and when marked a specific architectural change as implemented. This helps correlate executor actions with changes in the production environment and reconstruct the sequence of events when investigating a failure.
Shared Chat
One chat is used for approval and merge. Participants in all configured roles are added automatically, and discussion and decision history are not lost when moving to the next stage.
Branch Lock
The lock is selected when the approval request is submitted. Whether it is mandatory is defined by the policy of the specific landscape, not the organization.
When the branch is locked, the model cannot be changed until the process is completed. Rejecting or withdrawing removes the lock. After approval, the lock remains during execution; withdrawing approval cancels the related merge request and does not allow the executor to complete an already withdrawn process.
Process Stage
The interface shows one "Stage" field. A separate status is not displayed because it would duplicate the same information. The "Expected from" field is also not used: the action can be performed by any participant in one of several assigned groups, not by a specific person.
Possible stages:
- "approval not requested" - the process has not been submitted yet;
- "awaiting approval" - the fixed set is being reviewed by the approval group;
- "rework required" - the approver returned the same process to the author;
- "approved" - the set has been approved and can be passed to executors;
- "merge in progress" - the executor is marking the actual progress;
- "merge rejected" - the executor rejected the execution;
- "withdrawn" - the active process was canceled by the initiator;
- "outdated" - the unlocked branch changed after the set was fixed;
- "completed" - the confirmed set was transferred into master.
If the completion action is inactive, check the tooltip next to the process. Possible reasons:
- approval is required;
- a request to the execution group is required;
- the merge must be performed by a member of the execution group;
- the user does not have merge-start permission or is not the branch owner under the "merge own branches" permission.
Withdrawal and Resubmission
The initiator can withdraw an active process, including after approval. If the process has already been passed to executors, a withdrawn merge cannot be completed. After withdrawal, a new process starts with a new ID. When returning for rework, by contrast, the ID and chat are preserved: corrections and resubmission continue the same end-to-end process.
Select Changes
Merge supports partial transfer of changes.
In the tree, you can select:
- an entire section;
- a change group by object, diagram, or flow;
- an individual leaf change.
The "Selected" counter shows the number of selected leaf changes.
If a selected change depends on other changes, the system may automatically pull in required dependencies. For example, if a relationship visibility change on a diagram is selected, changes to the visibility of the elements at the ends of that relationship may be required for correct display.
Search the Changes
Search is available at the top of the window.
Use it to quickly find:
- a specific object;
- a diagram;
- a data flow;
- a domain;
- a change by name or description.
Visual Differences Preview on a Diagram
For diagram and data-flow changes, the "View Differences" button is available.
It opens visual preview, where you can compare the master state and the working branch. This is especially important before merging, because the tree shows the composition of changes, while the preview shows how those changes look on the diagram itself.
The visual preview window includes:
- a title with the diagram or flow name;
- a master / branch mode switch;
- a change legend;
- the diagram area;
- the list of changes on the right;
- buttons for selecting a specific change;
- augmented reality mode, if elements or routes need to be drawn in that are not present in the selected version.
Legend colors:
- green - added;
- yellow - changed;
- red - deleted.
In master mode, the current state of the main branch is usually shown. Deleted elements are highlighted in red, changed elements in yellow. In branch mode, the state of the working branch is shown. Added elements are highlighted in green, changed elements in yellow.
If augmented reality is enabled, preview can draw "ghost" elements or routes that are not in the current SVG of the selected version, but are needed to understand the differences.
What to Check in Visual Preview
Before accepting changes, check:
- Whether any extra elements appeared.
- Whether an important element or relationship is being deleted.
- Whether the diagram changed in a way that makes it unreadable.
- Whether context elements needed to understand the relationship were lost.
- Whether the data-flow route was broken.
- Whether the green/yellow/red changes match what the branch author expected.
- Whether there is a discrepancy between the change tree and the visual meaning of the diagram.
If a change looks suspicious, do not accept it immediately. Return to the working branch, open the diagram, clarify the change with the author through chat, or create a task.
BPMN and Merge
For diagrams of type BPMN_PROCESS, a change to the process body appears as a BPMN diagram change.
Before merging a BPMN process, check:
- that the process is saved on the server and not left only in a local draft;
- that the XML was not imported incorrectly;
- that BPMN element bindings to flows, steps, and model objects are correct;
- that the process changes are aligned with the business process owner.
If the environment does not show a full visual overlay for a specific BPMN change, compare the process in master and in the working branch manually before accepting it.
How to Accept Changes
- Review the diff tree.
- If necessary, open visual preview for diagrams and flows.
- Mark the changes that need to be transferred into master.
- Check the "Selected" counter.
- If the "Merge Process" panel appears, perform the required actions: request approval, wait for the decision, then pass the set to executors.
- The executor marks the completed portion; every checkbox is saved automatically. After the work is finished, the executor clicks "Merge Completed". Without a configured process, use "Apply Changes".
- Wait for the operation to finish.
- Switch to master and verify the result.
After acceptance, the system sends the selected changes for merge and records the result in history.
Merge Result
After a successful merge:
- the selected changes are applied to the master branch;
- the working branch remains available;
- already accepted changes are reflected in branch analytics;
- remaining unaccepted changes can be accepted later;
- the list of differences can be opened again;
- progress changes and completion events can be found in the landscape merge log;
- model events can be found in Action History.
This approach allows changes to be transferred in stages, for example as they are actually deployed into the production environment.
Partial Merge
Partial merge is used when not all branch changes are ready to be transferred.
For example:
- some objects are already approved, while others still need review;
- the diagram is ready, but the data flow needs rework;
- changes in one domain can be accepted now, and changes in another domain later;
- a technical implementation is deployed in stages;
- a BPMN process is approved, but the ERD still needs DBA review.
After a partial merge, the branch may remain open. In the branch analytics "Overview" tab, such changes are reflected as accepted and remaining.
If approval is enabled on the landscape, partial merge requires special care: approval is tied to the model version in the branch. After part of the changes is transferred and the branch is further reworked, a new approval request may be required before the next transfer.
Merge and Share Links
A diagram share link is tied to the diagram context: organization, landscape, and branch.
If the link is created from a working branch, the recipient sees the state of that working branch. If changes are then merged into master, the old link may still lead to the original context if it was not recreated or updated.
Before sending an external link:
- Check which branch is selected.
- If you need to show the production/master state, first perform the merge.
- Switch to master.
- Open the diagram and create or update the share link.
See "Diagram Sharing" for details.
When Not to Merge
Do not merge if:
- the wrong working branch is selected;
- the changes have not been approved by the owners of the affected domains;
- the process panel shows a blocking reason: approval, a request to executors, or execution-group participation is required;
- the diff tree contains unclear deletions;
- visual preview shows an incorrect diagram;
- mandatory properties of new objects are not filled in;
- the BPMN process contains a local unresolved draft;
- there are open tasks that block model quality.
If the branch is locked by a merge request, do not try to continue editing outside the interface. The server will reject modification operations, and the team will lose clarity about which version must be transferred into master.
If You Find an Error After Merge
- Open Action History.
- Find the event that needs to be reversed.
- Check whether the "Undo" button is available.
- If undo is available, perform the reversal.
- If undo is not available, create a working branch and make a corrective change.
Do not manually delete related elements without analyzing dependencies: this can affect diagrams, data flows, interfaces, and documentation.
Important Rules
- Merge is performed from a working branch into master.
- The master branch is not merged into another branch through this action.
- Get from master and Get from branch... change the current working branch and are not merge actions.
- You can accept not all changes, but only the selected ones.
- The working branch is not deleted automatically after merge.
- Branch deletion is performed as a separate action.
- Before accepting visual changes, check the diagram preview.
- After merge, it is recommended to check the "Overview" tab, action history, and model quality.