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.-
In the header of Dev Studio, click the name of the application, and then click Definition.
-
In the Development branches section, click Add branch.
You can add branches that contain rulesets only from your current application.
-
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.
- To create a new branch, enter a unique name that starts with a letter.
-
Click Submit.
- 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.
- 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.
-
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.
- 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.