Skip to main content
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Adding development branches to your application

Pega Community logo

Note: The following content, referenced from Pega Community, is included here to help you better achieve the module learning objectives.

To avoid conflicts and errors when team members work simultaneously, add development branches to your application so that team members can work simultaneously on multiple features without risking conflicts and errors that can arise from working on the same rules.

For example, one team member can fix bugs in the application UI while another developer fixes invalid service-level agreement rules. If both rules refer to the same base rule, working in separate branches prevents conflicts during development.
  1. In the header of Dev Studio, click the name of the application, and then click Definition.

  2. In the Development branches section, click Add branch.

    You can add branches that contain rulesets only from your current application.

  3. In the Add a Branch ID dialog box, in the Branch name field, enter a branch name:

    • To create a new branch, enter a unique name that starts with a letter.

      Ensure that the branch name reflects the purpose so that your development team can easily identify the correct branch in which to save changes during application development.

    • To reuse an existing branch from your system, press the Down arrow key, and then select a branch that you want to use.
  4. Click Submit.

  5. Optional:

    If you have multiple branches, you can specify how the system selects the rules for rule resolution by reordering the list of branches.

    For more information, see Reordering branches.

    The system selects the rules from the top branches first.

  6. Optional:

    If you use Live UI, to facilitate application development so that less technical users can modify common properties of a control or the layout of rules in the branch, set up and manage a run-time branch.

    For more information, see The Live UI tool.

  7. Create rules and add them to your branch.

    The system automatically creates rulesets where you save your rules. For more information about working with rules in branches, see Rule development in branches.

Note: When you develop your application, you can select the branch and ruleset into which you want to save new rules.

  • Rule development in branches

    To add rules to branches, when you create a rule, you can select the branch where you want to save your rule. Branch rulesets are automatically created.

  • Branch operations

    After you create branches and develop rules in branch rulesets, you can work with branches in a number of ways. For example, you can create branch reviews with other users, delete branches form the system, and lock branches before you merge them.


If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice