Bulk copy rules from ruleset into branch in pega 8 version

Is there a technique for copying all rules from a specific ruleset version into a branch?

The objective would be to have copies in both locations - rather than moving the rules. The destination needs to be a branch.

@sailajak1919

First thing we need to understand is: why do you want to do this?

None of the standard development practices with branch management would recommend this approach and I can’t think of any valid reason.

However it is possible with the refactor rulesets wizard:

  1. Create your destination branch in your application

  2. Select Create → SysAdmin → Ruleset. Select branch ruleset and then select which branch to use and which ruleset to branch.

  3. Open the Ruleset Wizard at Configure → System → Refactor → Rulesets

  4. Select Copy/Merge Ruleset

  5. Choose Copy + Entire Ruleset Versions. Select your specific Ruleset and version.

  6. In the Target Ruleset Information section, select the branch ruleset we created in step 2, and enter the version 01-01-01

  7. Click next to run through the rest of the wizard and it will save as every rule from your ruleset into the branch ruleset.