AutoRABIT Knowledge Base
  • 👋Welcome to the Knowledge Base
  • Fundamentals
    • ⚡AutoRABIT Solutions
    • LearningHub
    • ℹ️FAQs
      • General User Definitions
        • ARM User Definitions
      • ARM-FAQs
        • Connection & Authentication
        • Common Errors and Resolutions
        • Deployment
        • Data Loader
        • CI Jobs
        • Retention Policy
        • nCino
      • CodeScan-FAQs
        • General
          • CodeScan Static IP Ranges
          • Difference b/w CodeScan Self-Hosted and CodeScan Cloud
          • Single Sign-On (SSO)
          • What is a Subscription Code?
          • What is a CodeScan License Key?
          • Can I use CodeScan with a proxy?
          • Not receiving email notifications
          • CodeScan Blocks, Lines, and Field Inquiries
          • How are Metric Definitions Defined?
          • What Is Cyclomatic Complexity?
          • Can I export my test results?
          • CodeScan requests read and update permissions while connecting to Bitbucket
          • SSL Certificates
          • Does SonarQube support test execution reports for pull requests?
        • CodeScan Self-Hosted Issues
          • Self-Hosted Errors and Solutions
          • Self-Hosted FAQs
          • License Errors
          • License Issues (IDE)
          • Setting the System Environment Variable
          • Setting Up CodeScan for Use with a Proxy
        • CodeScan Cloud Issues
          • Cloud Errors and Solutions
        • Common Issues and Solutions
      • Vault-FAQs
        • Vault-FAQs
        • Common Error Messages
        • Limitations
        • Unsupported Metadata Types
  • Release Notes
    • 🔁Release Notes
      • ARM Release Notes
        • Release Notes 25.2
        • Release Notes 25.1
          • Release Notes 25.1.4
          • Release Notes 25.1.3
          • Release Notes 25.1.2
          • Release Notes 25.1.0
        • Release Notes 24.4
          • Release Notes 24.4.5
          • Release Notes 24.4.4
          • Release Notes 24.4.3
          • Release Notes 24.4.2
          • Release Notes 24.4.1
        • Release Notes 24.3
          • Release Notes 24.3.5
          • Release Notes 24.3.4
          • Release Notes 24.3.3
          • Release Notes 24.3.2
          • Release Notes 24.3.1
        • Release Notes 24.2
        • Release Notes 24.1
        • Release Notes 23.1
        • Release Notes 22.3
        • Release Notes 22.2
        • Release Notes 22.1
        • Release Notes 21.6
        • Release Notes 21.5
      • CodeScan Release Notes
        • Cloud Releases
          • Release Notes 25.1
          • Release Notes 25.0
          • Release Notes 24.0
          • Prior Versions
            • Release Notes 23
              • Release Notes 23.2
              • Release Notes 23.1
            • Release Notes 22
              • Release Notes 22.8
              • Release Notes 22.7
              • Release Notes 22.4
              • Release Notes 22.3
              • Release Notes 22.2
              • Release Notes 22.1
            • Release Notes 21
              • Release Notes 21.5
              • Release Notes 21.4
            • Release Notes 4
              • Release Notes 4.5
              • Release Notes 4.4
              • Release Notes 4.3
              • Release Notes 4.2
        • Self Hosted Releases
          • Eagle Edition
            • Release Notes 25.1.0 Eagle 3.0
            • Release Notes 24.1.1 Eagle 2.0
            • Release Notes 24.1.0 Eagle
          • Tiger Edition
            • Release Notes 25.0.1 Tiger 3.0
            • Release Notes 24.0.13 Tiger 2.0
            • Release Notes 24.0.9 Tiger
          • Prior Editions
            • Release Notes 24
              • Release Notes 24.0.8
              • Release Notes 24.0.5
              • Release Notes 24.0.4
              • Release Notes 24.0.1
            • Release Notes 23.1
        • CodeScan for Government
      • nCino Release Notes
        • Release Notes 25.1
        • Release Notes 24.4
        • Release Notes 24.3
        • Release Notes 24.2
        • Release Notes 24.1
        • Release Notes 23.1
        • Release Notes 22.3
      • Vault Release Notes
        • Release Notes 24.0
        • Release Notes 23.0
        • Release Notes 22.0
        • Release Notes 21.0
      • Guard Release Notes
        • Release Notes 25.1
  • Product Guides
    • ARM
      • Getting Started
        • Signing Up with ARM
          • User Profile
        • Understanding ARM
          • What is ARM?
          • What can I do with ARM?
          • Who can use ARM?
          • ARM Supported Metadata Types
        • Navigating ARM
      • ARM Administration
        • User Management
          • User Types
          • Predefined Roles
          • Users, Roles & Permissions
          • Adding New Users
          • Assigning User Roles
          • Removing or Suspending Users
          • Exporting User Details
          • Managing User Account Settings
          • Resetting Account Passwords
          • Profiles
          • Permissions
          • Credential Manager
          • Delegating Approvals to Another User
          • Enforcing Single Sign-On (SSO)
          • Salesforce API Version
          • Changing Super Admin in ARM
        • Registration
          • Version Control Repository
            • GIT Integration
              • GIT Tag
            • SVN
            • TFS
            • Bitbucket
          • Version Control Branch
            • GIT Branch Creation
            • Creation of a TFS Branch
            • Creation of SVN Branch
          • Salesforce Org
            • Salesforce Authentication using OAuth
            • Salesforce Org Re-Authentication
          • Static Code Analysis in CI-CD
        • Subscription Management
        • Workspaces
        • Search and Substitute
        • ALM Management
      • Getting Set Up
        • Version Control Repository
          • GIT Integration
            • GIT Tag
          • SVN
          • TFS
          • Bitbucket
        • Version Control Branch
          • GIT Branch Creation
          • Creation of a TFS Branch
          • Creation of SVN Branch
        • Salesforce Org
          • Salesforce Org Management
          • Salesforce Authentication using OAuth
          • Salesforce Org Reauthentication
        • Branching Baseline
        • Static Code Analysis in CI/CD
        • Browser Support
      • ARM Features
        • Dashboard & Pipelines
          • Dashboards & Widgets
          • Pipelines
        • Webhooks
          • Configure a Webhook in Bitbucket
          • Configure a Webhook in Bitbucket Enterprise
          • Configure a Webhook in GitHub
          • Configure a Webhook in GitHub Enterprise
          • Configure a Webhook in GitLab
          • Configure a Webhook in Microsoft Azure
          • Configure a Webhook in Slack
          • Configure a Webhook in Teams
          • Configure a Webhook in Visual Studio GIT
          • Configure a webhook in Visual Studio GIT Enterprise
        • Version Control
          • Introduction to Version Control
            • Version Control Repositories Summary
            • Version Control Branch Workflow
          • Version Control Repository
          • EZ-Commits
            • How Do I Commit?
            • Commits Summary
            • Committing Individual Forms from Form Manager (RBC Metadata)
          • EZ-Merge
            • Merge Conflicts
            • Merge Requests
            • Squash and Merge
            • Git Commit History and Merge Operations Basics
          • Change Labels
            • Commit Labels
            • Release Labels
              • Selective Deployments Using Pre-Prepared Artifacts
              • Artifact Preparation and Deployment Process
            • ALM Labels
          • External Pull Request
            • Azure Cloud Authentication
            • Pull Request Support for Azure Cloud
            • External Pull Request Summary Page
          • Commit Templates
          • GIT Revert
          • Understanding Duplicate File Change Commits in Git
          • Merge Approvals
        • Data Loader
          • Single Data Loader
            • Extract Salesforce Data
            • Insert Salesforce Data
            • Update Salesforce Data
            • Upsert Salesforce Data
            • Delete Salesforce Data
            • Using Data Loader with Lookups
          • Data Loader Pro
          • Data Loader Configuration
          • Test Environment Setup
          • Validation / Workflow Rules
          • Preparing the CSV file for ARM Data Loader
        • Automation and CI
          • Create a New CI Job
            • Build a Package from Salesforce
            • Backup your project to Version Control
            • Build a package from Version Control
            • Deploy a package from a Salesforce Org
            • Deploy from Salesforce with VC backup
            • Deploy from Version Control to a Salesforce Org
            • Deploy from SFDX branch to a Salesforce Org
            • Run Test Automation Scripts
            • Install an Unlocked Package from Version Control Branch
          • Triggering Builds for your CI Job
          • CI Job History
          • CI Job List
          • Configure Callout URL
          • CI Job Rollback
          • Parallel Processor
          • Enabling GitHub Checks
          • Automate Merge When CI Builds Pass
        • Deployment
          • Monitor Deployments
          • Apex Unit Tests
          • Connecting and Syncing Salesforce Orgs
          • Creating and Deploying Changes
          • Deploying Profile and Permission Sets
          • Deployment Rollback
          • Destructive Changes
        • nCino
          • Feature Migration
            • Create a Feature Migration Template
            • Create a Feature Migration Template with Predefined nCino Objects
            • Feature Migration Summary Page
          • Feature Deployment
            • Deployment Using Feature Migration Template
            • Deployment via Template using Salesforce Org
            • Deployment Using Version Control
            • Deployment via Version Control using Salesforce Org
            • Feature Deployment Summary
          • Feature Commits
          • Feature CI Jobs
            • Running a CI Job
            • CI Job Results
            • CI Job List screen
            • nCino Webhooks
          • Post Deployment Activities
          • Specify Baseline Revision in Continuous Integration for Version Control
          • Selecting a Range of Revisions
          • nCino RBC Deployment Rollback
          • nCino Developer APIs
            • nCino API References
          • nCino Compare
          • Exclude the OwnerID from Automapping in nCino CI jobs
          • External Unique ID Validation
          • Select External Unique ID
        • Salesforce DX
          • Salesforce DX Metadata Format
          • Registering a DevHub
          • Create a Scratch Org
          • Create a Module
          • Create an Unlocked/Managed Package
          • Import an Unlocked/Managed Package
        • Reports
          • Reports Overview
          • Code Coverage Reports
          • Deployment Reports
          • Static Code Analysis
          • Audit Report
        • Environment Provisioning
          • Migration Template
            • Enable History Tracking on Objects
            • Disable History Tracking on Objects
            • Enable History Tracking on Custom Fields
            • Disable History Tracking on Custom Fields
            • Run Destructive Changes
            • Execute Anonymous Apex
            • Enable Validation Rules
            • Disable Validation Rules
            • Enable Workflow Rules
            • Disable Workflow Rules
            • Enable Flows
            • Disable Flows
            • Enable Apex Triggers
            • Disable Apex Triggers
            • Migrate Custom Settings Data
          • Unsupported Metadata Templates
            • Account Teams
              • EnableAccountTeams
              • DeleteAccount
              • DisableAccountTeams
              • NewRoleAccount
              • Reorder
              • Replace
              • SortAlphabetically
            • AddTabsinAppManager
            • ActivityButtonOverrides
            • ApexExceptionEmail
            • ComplianceBCCEmail
            • AutoNumberFields
            • Campaign Influences
              • CampaignInfluencesEnable
              • CampaignInfluencesDisable
            • Case Contact Roles
              • NewContactRoles
              • DeleteContactRoles
              • ReorderContactRoles
              • ReplaceContactRoles
            • Contact Role Templates
              • EditTeamRole
              • NewTeamRole
              • ReplaceTeamRole
            • Console Layout Assignment
              • ConsoleLayoutsAssignments
              • DeleteConsoleLayout
              • NewConsoleLayouts
            • Create Lead Mapping Rules
              • LeadMapping
            • Create Organization-Wide Email Footers
              • DeleteEmailFooters
              • EditEmailFooters
              • EmailFooters
            • Case Feed Layout
            • Create Public Groups
              • Assign Roles and Profiles to Public Groups
              • PublicGroups
            • Web to Case
            • Data Category Visibility Settings
            • Delegated Administration
              • DelegatedAdministrationNew
              • DelegatedAdministrationEdit
            • Delete Outbound Messages
            • Delete Scheduled Jobs
            • Delete Time Based Workflow
            • Disable Scheduled Reports
            • Edit Queue
            • Email to Case Settings
              • Email to Case
              • Update Email to Case
            • File Upload and Download Security
            • Fiscal Year
            • Edit Lead
            • Email Admin Settings
            • Email Relay Activation
            • Manage Email Services
              • DeleteEmailServices
              • EditEmailServices
              • NewEmailServices
            • Manage Libraries
            • Page Layout Assignment
            • Manage User Records
            • Mobile Administration
              • Mobile Dashboard Settings
              • Mobile Notifications
              • Mobile Salesforce Settings
              • Salesforce Navigation
              • Salesforce Offline
            • Multiline Layout Fields For Contract Line Items
            • Multi Line Layout Fields for Opportunity Teams
            • Territory Model Options
              • New Territory Model
              • Edit Territory Model
              • Delete Territory Model
            • Offline Briefcase Configuration
              • Offline Briefcase Configuration New
              • Offline Briefcase Configuration Edit
              • Offline Briefcase Configuration Delete
            • Opportunity Deal Alerts
              • Edit Deal Alert
              • New Deal Alert
            • Opportunity Update Reminders
              • EditReminder
            • Organization Wide Email Addresses
              • Delete
              • Edit All
              • Organization All Profile
            • Predefined Case Teams
              • DelPredefined
              • NewPredefined
              • EditAdd
              • EditRemove
              • EditName
            • Product Schedule Settings
            • Public Calendar
              • Public Calendar Delete
              • Public Calendar Edit
              • Public Calendar New
            • Public Calendars and Resources Sharing
              • Public Calendar and Resources Sharing Add
              • Public Calender and Resources Sharing Edit
              • Public Calendar and Resources Sharing Delete
            • Publish Communities
            • Quote Templates
              • Active Quote
              • Deactive Quote
              • Delete Quote
              • New Quote
            • Report Dashboards Create Manage Folders
              • Create New Dashboard Folder
              • Create New Report Folder
              • Delete Folder
              • Share Settings
            • Resource Calendar
              • Resources Calendar Delete
              • Resources Calendar Edit
              • Resources Calendar New
            • Sandbox Refresh
            • Enable Salesforce to Salesforce
            • Schedule Apex Classes Monthly
            • Schedule Apex Classes Weekly
            • Search Settings
            • Self Service Public Solutions Edit
            • Site
            • Social Accounts Contacts and Lead Settings
            • SoftPhone Layouts
              • Softphone Layout New
              • SoftPhone Layout Edit
              • SoftPhone Layout Delete
            • Solution Categories
              • Solution Category Add
              • Solution Category Edit
            • Solution Settings Edit
            • Tag Settings
            • Territory View Rules
              • Delete Territory View Rules
              • Edit Territory View Rules
              • New Territory View Rules
            • User Interface Settings
            • Update Custom Label
            • Update Url for Remote Site Settings
            • Web to Lead
              • Edit Web Lead
              • Web To Lead
      • Integration and Plugins
        • SSO
          • SSO With Microsoft Entra ID
          • SSO for OKTA
          • SSO For PingFederate
          • SSO For ADFS
          • SAML SSO (Generic IdP)
        • Active Directory
        • JIRA
        • Azure DevOps
        • OmniStudio
          • Deploying OmniStudio Components
          • OmniStudio Configuration Settings
          • Committing OmniStudio Components to a Branch
        • AccelQ
        • HashiCorp Vault
        • Provar
        • SCA for Checkmarx
          • Checkmarx One Integration
        • Apex PMD
        • CodeScan Overview
        • SonarQube
        • Jenkins
        • Visual Code Extension
          • Installing VS Code Extension
          • Configuring VS Code Extension
          • Working with VS Code Extension
        • Integrate ServiceNow with ARM
        • URL Callout Integration with Tricentis
        • ARM for Salesforce Data Cloud
      • Security Information and Event Management
        • Common Event Format (CEF) Data
        • ARM Event Type
        • Retrieval APIs
      • Developer APIs
        • Authentication
        • API Access
        • Errors
        • API References
      • On-Premises / Dedicated Instances
        • Upgrade Guides
      • Troubleshooting
        • Best Practices
          • Salesforce Deployment Best Practices
          • Version Control Best Practices
          • CI Job Configurations
          • Vlocity
          • IP Whitelist
          • How to Include Network Settings in Commit or Deployment
          • Branching Strategy & CI/CD Pipeline
          • Metadata comparison between two Salesforce Orgs
          • Working with Translations in ARM
          • Revision Range & Release Label Deployment
          • Salesforce API Version Mismatch for the CI Build and Custom Deployment
          • Prerequisite while performing a commit using AutoRABIT
          • Flows in Salesforce
        • Known Issues / Limitations
          • ARM Known Issues
          • ARM Known Limitations
          • Salesforce Known Limitations
        • How-To's
          • Configure Merge Approval
          • Check Time Stamp for Commit/Merge
          • Enable SCA Apex PMD validation criteria.
          • Create API Token
          • Create Users' Credentials
          • Configure Record Types Picklist Values
          • Configure Multi-Proxy
          • Configure Mail Server Settings
          • Notifications (Mail Server Settings)
          • Enable Delta on PermissionSets
          • Default Apex Class Configuration
          • Enable Enhanced Domains
          • Provide branch access to users
        • FAQs
    • CodeScan
      • CodeScan Overview
      • System Requirements and Installation Self-Hosted
        • Installing CodeScan Self-Hosted
      • Getting Started
        • Users, Roles and Permissions
          • User Account
          • Reset the Password
          • Adding Users to a CodeScan Cloud Organization
            • Accepting invitations to add a user to a CodeScan Organization
          • Deleting User from a CodeScan Organization
          • Member Permissions
          • IDP Group Mapping
        • Setting up a CodeScan Cloud Organization
          • About CodeScan Cloud Organizations
          • Deleting Projects and Organizations
          • Generate a Security Token
          • Finding your Organization Key
          • Finding your Project Key
          • Setting up Payment
          • Understanding branches in CodeScan Cloud
          • Understanding branches for Salesforce project
          • Understanding the New Code Tab
        • Adding Projects to CodeScan
          • Add a project to CodeScan from Salesforce
          • Add a project to CodeScan from GitHub
          • Add a Project to CodeScan from Bitbucket
          • Add a Project to CodeScan from Git
          • Add a project to CodeScan from GitLab
      • Quality Profiles
        • Setting a Default Quality Profile
        • Customizing Quality Profiles
        • Exporting CodeScan Quality Profiles
      • Quality Gates
        • Understanding Quality Gates
        • Assigning Specific Quality Gates to a Project
        • Customizing Quality Gates
      • CodeScan Rules
        • CodeScan Rule List
        • Security-Related Rules
        • Creating Custom Rules with XPath
        • Configuration for Polyfill.io Vulnerability Rules
        • Configuration for Salesforce Metadata Rules
        • Metadata Rules on CodeScan Self-Hosted
      • Issues
        • Filtering Issues in CodeScan
        • Export issues to CSV in CodeScan Cloud
        • Exporting Issues using CodeScan-Export Tool
        • About Issue Status
        • Security Hotspots
      • Report and Analysis
        • Scheduled Reports
        • Analysis Scope on CodeScan Cloud
        • Ignoring Violations
        • Importing Salesforce CLI Code Coverage
        • Housekeeping
      • CodeScan Support
        • Raise a Service Request
      • CodeScan Integration
        • Integration Requirements
        • Project Naming Conventions
        • Single Sign-On (SSO)
          • Single Sign-On with OKTA
          • Single Sign-On with Entra ID
          • Single Sign-On with ADFS
          • Single Sign-On with PingOne
        • ARM
          • CodeScan Integration with ARM
        • CodeScan SFDX Plugin
          • Run analysis locally using SFDX
          • Importing Code Coverage from SFDX projects
        • IDE Plugins
          • Installing CodeScan for VS Code
          • Installing CodeScan for IntelliJ
        • Copado
          • Copado SFDX Integration
          • Copado MDAPI Integration
        • Flosum
          • CodeScan and Flosum Integration
        • Azure DevOps
          • Scan CodeScan Cloud projects in Azure DevOps
        • GitLab
          • Integrating CodeScan in GitLab
        • Bitbucket Pipelines
          • Integrating CodeScan in Bitbucket Pipelines
          • Reattaching Bitbucket Projects
        • GitHub Actions
          • CodeScan in Github Actions using the SFDX Plugin
          • Integrating CodeScan with GitHub Actions
        • Jenkins
          • CodeScan with Windows Agents
          • CodeScan with Linux/Unix Agents
          • Use Jenkins with CodeScan Salesforce project
        • Webhooks
          • Slack integration with Zapier
    • Vault
      • Vault™ Overview
      • Getting Started
        • Registering for an Account
        • Signing In
        • Resetting your Password
        • Managing Users and Roles
        • Setting Up Multifactor Authentication in Vault
        • Managing User Sessions
        • User Profile and Permission Access for Salesforce Users
        • Transferring Admin Ownership
        • Controlling Access to the Salesforce Org
      • Configuring Vault
        • Configure Backup Environment
          • Amazon AWS S3 Storage Environment
            • Bring your own Key (BYOK) with Vault
            • IAM Role Support
          • Google Cloud Platform
          • Create an Azure Storage Account
          • Azure Blob Storage Environment
          • Microsoft Azure Blob Retention Policy
          • NFS
          • SAN (Storage Area Network) Environment
        • Licenses
        • SSO Configuration
          • SSO for OKTA
          • SSO with Microsoft Entra ID for Vault
        • Registering Salesforce Org
          • Setup backup configuration for Salesforce Org
          • Archival Configuration
          • Unique Identifier (UID)
        • Scheduled Backup List
        • Alerts & Notifications
        • Workflow/Validation Rules
        • TLS Supported
        • Creating and Configuring Proxy Servers
      • Vault Features
        • Archive
          • Archiving Your Salesforce Data
          • Parent-Child Record Archival
        • Backup
          • Start the Backup
          • Schedule a Vault Backup
          • Understanding Backup Behavior
        • Compare
          • Comparing Two Backups
        • Compliance
          • GDPR - Secure and Comply
            • Right to Be Forgotten Request
          • PCI DSS
        • Replicate
          • Job Configuration
          • Job History
          • Masking Rules
        • Reporting
          • Archive Reports
          • Stale Jobs
        • Restore
          • Restoring the Metadata/Data to the Salesforce Org
        • SIEM Logs
        • Vault Connect
      • Vault Best Practices
      • Vault-FAQs
      • Knowledge Articles
        • Backup Support for Knowledge Articles
        • Restoring Knowledge Articles with Vault
        • nCino
          • Registering nCino configured Salesforce Org
          • Backup Configuration for your Salesforce Org
          • Archival Configuration for your Salesforce Org
          • Restoring nCino Features
    • Guard
      • Risk Assessment
      • Permissions Explorer
      • Change Monitoring
      • Policies
      • Integration User License
  • Resources
    • 🖥️AutoRABIT Support
    • 💬Community Forum
    • 📙Glossary
Powered by GitBook
On this page
  • What is EZ-Merge?
  • Before you begin
  • How do I merge my changes to a branch?
  • Merge Type
  • EZ-Merge Process Stages
  • Pass/Fail Result Takeaway
  • Conflict Resolution
  • Skip Pre-validation Criteria for Back-Merge Branches
  • Prevalidate Merge
  • Validate Deployment
  • ALM Integration
  • Troubleshooting
  • Common Issues with EZ-Merge
  • Is it possible with ARM to limit merge approval to only one specific branch and not to others?
  • How can I get rid of a malformed duplicate file in the merge?
  • I performed a commit using two fields and used that same commit to perform a merge. Why is the second field showing differently and picked up by another object?
  • Why do I get the following error: "Cannot find the declaration of element 'web:validateSalesforceOrgConnection'" when selecting an org in EZ-Merge?

Was this helpful?

Edit on GitHub
Export as PDF
  1. Product Guides
  2. ARM
  3. ARM Features
  4. Version Control

EZ-Merge

PreviousCommitting Individual Forms from Form Manager (RBC Metadata)NextMerge Conflicts

Last updated 28 days ago

Was this helpful?

What is EZ-Merge?

Merging is simply putting a forked history back together again. Say you have a new branch feature based on the master branch. You now want to merge this feature branch into the master. Using the merge process in ARM will merge the specified branch feature into the current branch...we'll assume the master.

Before you begin

Before a merge, there are several preparation steps you must take to ensure the merge goes smoothly. Most of these steps must be performed by an Admin.

  1. : Only an Admin can perform this step. Register your Version Control Repositories, such as GIT, SVN, or TFS, in ARM.

  2. : ARM connects to your Salesforce Org using the secure OAuth method or username/password connections. Only an Admin can perform this step.

  3. : Instead of making changes directly to the code base, you can branch off from the main line and work on a specific feature in an isolated branch. Only an Admin can perform this step.

  4. in the "My Profile" section: Set up the permissions to create a project in ARM.

  5. Fetch the latest remote commits: Ensure the receiving branch and the merging branch are up-to-date with the latest remote changes.

How do I merge my changes to a branch?

The merge process is generally performed when a feature is ready for user testing in Salesforce Orgs and usually involves code review by other development team members.

Important Note: The merge process in ARM remains valid for seven days. Make sure you resolve the merge conflicts (if any) for your merge label and commit the changes to another branch within seven days or the merge expires. All merge-related reports such as Static Code Analysis reports, Deployment Validation reports, or Difference reports generated also expire after seven days.

  1. Hover your mouse over the module and select Commits.

  1. Click on the New EZ-Merge button.

    • The New EZ-Merge screen is best viewed when the zoom setting is set to 80% on your Chrome/Firefox browser.

  2. You can also reach the New Merge screen directly by selecting Create New > New EZ-Merge from the top navigation bar.

  3. In the New EZ-Merge screen, select the version control repository from where the metadata components will be fetched.

  4. Select your source (base) branch and the target (destination) branch.

  1. Select the Merge Type from the dropdown:

    • Entire Branch

    • Single Revision

    • Commit Label

    • Release Label

    • ALM Label

Merge Type

A. Entire Branch

This option will merge the entire change from one branch to another branch.

Different options for "Entire Branch" merge type

  • Delete Source Branch: Once you have successfully merged the changes from the source branch to another, you can permanently delete the source branch. Select the Delete Source Branch checkbox to delete the source branch, which auto-populates whenever 'Entire Branch' as a merge type is selected.

B. Single Revision

Get Latest HEAD points out the last commit in the current checkout branch.

There could be a situation where you have entered an incorrect revision number and hit the Search button. In this case, an error message indicates that the revision number entered is incorrect.

You can also use the 'Get All Revisions' button to get all the revisions and check for your revision from the list.

C. Commit Label

Select the commit labels created while committing to the Version Control System. The commit labels created during the EZ-Commit or Merge process will be fetched in the Commit Label field.

For example, DXTES-19_EZ-Commit: here, DXTES-19 indicates the commit label name, and EZ-Commit denotes the label created during the EZ-Commit process.

Click on the View Revisions link for the list of revisions associated with the commit label. A new dialog box appears with the revisions, date/time stamp, comments, and author details. There is a provision to search for specific revisions using the Revision Search filter on the top right corner of the dialog box.

D. Release Label

You can select the release labels created using the committed revisions and the labels.

  1. Select the Merge Type as Release Label.

  1. The Release Labels field populates with all the available release labels in that repository/branch. If no release label is created for the above repository/ branch, an error notification states, "No Release Labels found."

  2. Select your Release Label.

  3. Click on the View Revisions link to view the list of revisions for the release label. A new dialog box appears with the revisions, date/time stamp, comments, and author details. There is a provision to search for specific revisions using the Revision Search filter on the top right corner of the dialog box.

E. ALM Label

This allows you to choose and promote the ALM user stories to a higher or lower branch.

  1. Select the Merge Type as ALM Label.

Note: You will not have the option to enter the work item details manually, you need to select the work item from the list fetched.

  1. Select one of the work items from the list fetched, and click OK.

EZ-Merge Process Stages

  1. Merge Initiated: This stage marks the beginning of the merge process. It indicates that a merge operation has been triggered, and the system is preparing to consolidate or merge data.

  2. Awaiting User Action: During this stage, the system is waiting for user input or action. Users may be required to review and confirm merge decisions, resolve conflicts, or provide additional information before the process proceeds.

  3. Commit Generated: The commit generation stage involves creating changes or transactions that will be applied to the system once the user confirms the merge. It represents the proposed changes resulting from the merge operation.

  4. Validating Salesforce XML: This stage involves checking and validating the Salesforce XML (eXtensible Markup Language) files associated with the merge. It ensures that the data conforms to the expected format and requirements, preventing issues during the merge.

  5. Duplicate Access Settings: This stage involves checking and managing access settings for potential duplicates. It ensures that security and access controls are appropriately configured for the merged data.

  6. Generating Delta: The delta generation involves identifying the changes or differences between the original data and the updated data resulting from the merge. This information is crucial for understanding the impact of the merge on the existing records.

  7. Pending User Approval: In this stage, the system has completed the necessary preparations, and the merge changes are pending final approval from the user. Users may review and confirm or reject the proposed changes based on their assessment.

  8. Green Checkmark (✓): A green checkmark indicates a process or operation has been completed. It confirms that the task, such as a data merge or deployment, has been executed without errors and meets the required criteria.

  9. Red Cross Mark (X): On the other hand, the appearance of a red cross mark (X) signifies that a process has encountered an issue or has failed to complete successfully. This could be due to various reasons, such as validation errors, data conflicts, or system issues. Users should investigate the details of the failure to identify and address the issue.

Pass/Fail Result Takeaway

  1. Validating Credentials (✓ / X): o Description: This step involves verifying the credentials' authenticity to ensure proper access to the target systems. o Success (✓): Credentials are valid and provide the necessary access. o Failure (X): Credentials are invalid, leading to an authentication error.

  2. Applying Merge (✓ / X): o Description: Merging code changes from different branches into the main branch. o Success (✓): The merge process completes without conflicts and successfully integrates changes. o Failure (X): Merge conflicts occur, requiring manual resolution.

  3. Validating Salesforce XML (✓ / X): o Description: Ensuring that Salesforce XML files conform to the expected structure and standards. o Success (✓): Salesforce XML files are valid and meet the required criteria. o Failure (X): XML files have errors or deviations from the expected structure.

  4. Checking Missing Meta XML (✓ / X): o Description: Verifying the presence of necessary metadata XML files. o Success (✓): All required meta XML files are present. o Failure (X): Missing meta XML files, indicating incomplete configuration.

  5. Merge Pre-validation Process (✓ / X): o Description: Performing preliminary checks before the actual merge to identify potential issues. o Success (✓): When the Merge Pre-validation Process returns a green check mark (✓), it signifies that the pre-validation check has been successfully completed. It does not indicate whether or not the process returns errors - only that the process itself has run. To check for errors please refer to logs and validate the deploy. o Failure (X): The appearance of a red cross mark (X) signifies that a process has encountered an issue or has failed to complete successfully.

  6. File Diff (✓ / X): o Description: Comparing files to identify the differences between the source and target. o Success (✓): No significant differences or conflicts were detected during the file comparison. o Failure (X): Differences or conflicts require attention and resolution.

  7. Static Code Analysis (✓/ X): o Description: Analyzing the code for potential issues, bugs, or security vulnerabilities. o Success (✓): Code analysis passes without critical issues. o Failure (X): Static code analysis identifies issues that need correction.

  8. Validate Deploy (✓/ X): o Description: Validating the deployment package to ensure it meets deployment requirements. o Success (✓): The deployment package is valid and ready for deployment. o Failure (X): Deployment package validation fails due to issues.

  9. Commit (✓/ X): o Description: Committing the merged changes to the version control system. o Success (✓): Changes are successfully committed without errors. o Failure (X): Commit fails, indicating issues with the version control system.

  10. Post Merge Updates (✓/ X): o Description: Performing necessary updates and checks after the merge process. o Success (✓): Post-merge updates are completed without issues. o Failure (X): Issues arise during post-merge activities, requiring attention.

Conflict Resolution

  1. Conflict Resolution Strategy: This field allows you to select how to resolve the conflicts. If you and another user change the same file in different sandboxes or on different branches, a conflict arises when you try to commit your modified files. When the conflict occurs, ARM will use the below resolve method:

    • Manually resolve conflicts: Resolve the conflicts manually.

    • Choose the file from the source: Replaces the copy of the file in your workspace with the version in the repo, discarding your changes.

    • Choose the file from the destination: Accept the file in your workspace, overwriting the version in the repo when you submit the file.

  2. Enter the Merge Label name and comment (if any).

  3. Enter the Email ID(s) to send an email notification of the merge reports.

  4. Create Commit Label: To create a commit label for the merge operation, select this checkbox. Choose the Salesforce or Vlocity commit label type from the drop-down menu.

  1. Create a GIT Tag: GIT tags are a simple and effective way to ensure you can keep track of the different versions of your code and the critical quality of Git's version control. GIT Tag operation allows meaningful names to a specific version in the repository.

Skip Pre-validation Criteria for Back-Merge Branches

  1. Select the Skip Pre-Validation for Back-Merge Checkbox:

    • Navigate to Merge Settings under the Admin section.

    • Select the Skip Pre-Validation for Back-Merge checkbox.

  2. Perform a New EZ-Merge:

    • Execute a new EZ-Merge from a higher to a lower branch (e.g., INT to DEV).

  3. Automatic Skipping of Prevalidation Criteria:

    • The pre-validation criteria will be automatically skipped during the back-merge process.

  4. Back Merge Indicator:

    • After performing the merge, you will see an indicator confirming that the validation is being skipped automatically as it is a back merge.

Prevalidate Merge

In this section, you can assign certain pre-validation merge operations before merging to your target branch. These operations include deployment validation with up to three selected Salesforce Orgs, choosing Apex test classes to run, selecting the static code analysis tool, and generating difference reports.

Prevalidation Merge Options:

Use these options to customize and control your pre-validation merge operations, ensuring robust and flexible deployment validation tailored to your specific needs:

  1. Deployment Validation with Multiple Salesforce Orgs:

    • You can now select up to three Salesforce Orgs for deployment validation. This allows for thorough testing across different environments before completing the merge.

  2. Apex Test Class Selection:

    • You can select separate Apex test classes for each Salesforce Org. This provides the flexibility to run different tests tailored to each environment's needs.

  3. Merge Success Criteria:

    • All Orgs Success: The merge will be successful only if all selected Salesforce Orgs pass the validation. This option ensures that changes are consistently valid across all environments.

    • Any One Org Success: The merge will be successful if at least one of the selected Salesforce Orgs passes the validation. This option provides flexibility, allowing the merge to proceed even if some orgs do not validate successfully.

  4. Skip Members Option:

    • The skip members option will only be visible if it has been configured. Ensure that this configuration is in place if you intend to use this feature.

Different Prevalidate Merge Criteria:

  1. Generate Diff Report: Select this option to auto-generate a code difference report on completion of the commit.

    • For ApexPMD, Checkmarx, CodeScan, and SonarQube: ARM allows you to set the criteria for running the SCA tool, whether to run on all supported metadata types from the full source or to run on the newly added components.

Important Note: Whenever a code analysis is triggered, ARM will wait up to 5 hours for a response. If the code analysis is not completed within 5 hours, ARM will throw a timeout exception error. This applies to all SCA tools.

Validate Deployment

Validate Deployment: Choose a Salesforce org to validate a future deployment. Further, there are different options to choose from:

  • Rollback on error: This checkbox is selected by default to avoid major deployments. However, you can deselect the checkbox to skip the rollback on error under the validate deploy section in merge pre-validation so that it ignores any errors and deploys the remaining components. This is captured in the Failed Components tab of the Deployment Validation section on the commit's details page. The deployment status will be captured as Partially Succeeded.

Note: This checkbox should be selected for Production org deployments.

  • Run Destructive Changes: Here, you can specify whether to run pre- or post-destructive changes while carrying out the merge process.

  • Ignore Missing Visibility: With this option, differences in visibility settings between the source and destination branches will not cause the merge to fail. ARM will compare the source and destination branches and keep only the common settings between both branches. Important Note: Standard fields are not supported for Ignore Missing Visible Settings.

  • Ignore installed components: When selected, ARM will scan for the components that are deployed, and if there are any managed package components located in the destination branch, these components will be excluded from the metadata.zip files while the remaining components are deployed.

  • Apex Test Class selection:

Select Org 1 by clicking on the drop-down of destination:

Select Org 2 by clicking on the drop-down of destination:

Note: If your validate deployment fails on an org, it shows an (X). If it passes, it shows a (✓).

Points to Remember:

  1. Prevalidate Merge section will only be visible if the Admin has enabled the 'Merge Setting' checkbox under the My Account section.

  2. Users with the 'Merge Review Overridable' role have special permission to check or uncheck the pre-validate option. However, each time they try to commit to the branch, a notification alert mail gets triggered to the email ID as specified in My Account > Merge Settings.

  3. Prevalidate Merge section will not be displayed for Version control repositories registered in the 'SFDX' structure.

  4. Suppose the meta-XML file does not exist in the Destination Branch and is available in the Source Branch. The meta-XML file is copied from the source to the destination branch before committing to the remote repository. The newly added meta-XML file will be added to the files list, committed to the remote repository, and added to the Validate Deployment package.

  5. Based on the permission assigned by your Admin, you will see the options in the active state. Suppose your Admin has assigned you permission to run a static code analysis tool only to review your code before merging them. In that case, the Run Static Code Analysis option will remain inactive, while other options will remain disabled or won't be seen.

  6. Based on the Approval Reviewer level set in 'Merge Settings' (under the My Account section), you need to specify the email address of the reviewers for a given proposed code change and to approve merge requests.

ALM Integration

You can update the status of the ALM work item through the ALM Integration section (below the Pre-validate Merge section), and the same gets reflected in your ALM system.

  1. Select the ALM label.

  2. Select the Project and the sprint for which the commit is planned.

  3. Select the Work Item, and the Current Status for the work item gets auto-populated. This allows you to update the ALM for the Merge operation with or without changing the current work item status. Click on the + icon to add another work item and update its status.

  1. Click on either Dry Run or Validate & Merge.

Dry Run
Validate & Merge
  • The dry run option will show the user how the merge will execute without making any changes.

  • Don’t merge anything; show what would be done.

  • Lists what will be pushed to the Integration branch from the Dev branch.

  • The status shows as "MERGE NOT COMMITTED."

  • View the conflicts if there are any during the dry run merge. Later, it will ask to initiate a merge in the View Conflict screen, which gets converted to a standard validation merge.

  • Changes are validated and later merged from the Dev branch to the Integration branch without committing to the remote repository.

  • The difference report and the static code analysis report are published based on the delta and shared with the user.

  • The admin/reviewer can approve or reject the changes.

  • The user can merge the changes to the remote repository if approved.

  1. A notification appears that the merge request has been submitted for Entire Branch and Single Revision merge types. Click OK, and you will be auto-redirected to the Commits screen, where you can find the status of the initiated merge.

  1. A confirmation dialog box will ask you to approve the requested operation for Release Label, Commit Label, and ALM Label merge types. Click OK, and you will be auto-redirected to the Commits screen, where you can find the status of the initiated merge.

Troubleshooting

For merge labels that are either in progress or have some conflicts, in such a scenario, you will find a popup that will appear as shown below when you press the Validate & Merge button. These merge conflict statuses will only be shown for the merges created within seven days.

Resolution: To prevent this, first, resolve current merge conflicts or allow the in-progress merge status to move to the completed state and then restart the merge process again.

Common Issues with EZ-Merge

While performing an EZ-Merge, inaccurate file changes are being merged into the destination branch.

What do I need to do outside of ARM?

  1. Checkout to the target branch.

  2. Merge the branch by executing the command shown in the ‘applying merge’ log.

  3. Check the results for the modified files.

  4. If the result matches the ARM file changes, then this is a Git behavior.

Why is a merge getting auto rejected during deployment?

Below are the reasons why ARM rejects your merge request:

  • It will be auto rejected if the proper merge criteria are not enabled. The merge criteria must be enabled before you are performing the jobs.

  • Workspaces is wrongly configured

    • Search for the workspace id which has the name of the source & target branch and reset that workspace. Once the workspace reset is complete, trigger a new merge.

  • Failed to meet the actual code coverage criteria

    • Please update the merge criteria as needed by disabling code coverage under Admin > My Account > Merge Settings.

Is it possible with ARM to limit merge approval to only one specific branch and not to others?

We don't have a feature to limit approvals to specific branches right now. However, there are a few options that can assist you in obtaining merge approval for a specific branch:

  • When performing a merge, make sure none of the options under New EZ Merge > Prevalidation Merge are selected; this allows you to merge without approval.

  • Under Admin > MyAccount > Merge Settings, make sure the 'disable merge self-approval' checkbox is not selected.

How can I get rid of a malformed duplicate file in the merge?

If the Permissionset file you're trying to upload has some malformed structure, please contact our support team so we can validate using XML validator. After resolving it, you can upload the Permissionset file successfully and proceed with the merge.

I performed a commit using two fields and used that same commit to perform a merge. Why is the second field showing differently and picked up by another object?

The merge with the cherry-pick command by GIT gives you results of such Custom Fields while merging to the target branch. The same thing happened when there was a new commit. The merge process followed even before reverting the actual commit and got the same result from GIT. There is no issue with the workspaces here.

Why do I get the following error: "Cannot find the declaration of element 'web:validateSalesforceOrgConnection'" when selecting an org in EZ-Merge?

The error below pops up while selecting the org for merge validation: cvc-elt.1.a: Cannot find the declaration of element 'web:validateSalesforceOrgConnection'

Cause of the issue: This may be due to a cache problem while selecting the Salesforce Org.

Resolution: Clearing the browser cache and refreshing the browser will resolve the issue.

Merge a Single Revision from the Commits that you have performed. You can either enter the revision number (in case you remember it) or use the Search () button next to the Single Revision field to pull a list of revisions from which you can choose the revision to use in the deployment.

The Work Item will gather all of the user stories for which the ALM commits happened in the Source Branch of the chosen Version Control Repository. Click on the Search () icon to find the list of user stories or work items fetched.

Skip Layout/Profile/Perm. Set Access-Setting Duplicity Check: If you do not want ARM to list all duplicate entries for your layout/profile/permission sets, please select this checkbox. ()

Review Artifact: Select this checkbox to see the list of the changed files staged for commit (during merge conflicts). This allows you to preview the changes, review them or edit the files before pushing them into your version control. ()

Run Static code Analysis: Select this option if you want to run a to identify potential software quality issues before the code moves to production. Similar to "Generate Diff Report," this option will also be auto-selected by default if the criteria are set globally (under the My Account > Commit Validation - Approval Settings section).

Apex Test Level: Choose your to validate your merge.

Issue references in stackoverflow link:

Navigate to Admin > My Account > Merge Setting to select the proper merge criteria. Click for a more detailed explanation.

Learn More
Learn More
static code analysis tool
Apex Test Level
https://stackoverflow.com/questions/63365836/git-is-showing-a-file-as-moved-on-bitbucket-i-want-it-as-a-new-file-for-pull-r
Here
Register your Version Control Repository in ARM
Register your Salesforce Organization in ARM
Set Up a Branch
Mapping the users with the Version Control and Salesforce Orgs
Version Control
Commits
EZ-Merge
Source & Target Branches
Merge Type
Delete Source Branch
New Merge
Select Revisions
Get All Revisions
New Merge
View Revisions
Commit Label
Merge Type
View Revisions
Select Work Item
ALM Label
Commit Label
Merge Settings
Prevalidate Merge
Back Merge Indicator
Skip Members Option
Prevalidate Merge
Apex Test Level
Org 1 selection
Org 2 selection
Add another work item
Pre-validate Merge
Notification box
Confirmation
In-Progress Merge Labels