Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adding development branches to your application

Updated on May 31, 2022

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 Enabling run-time branching and editing.
  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.
Result: When you develop your application, you can select the branch and ruleset into which you want to save new rules.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us