how about main rules and branch rules's priority?

in main application, I just created a branch,checked out two activities into my branch and updated (no merge).

I run activity and case type,the tracer and pega log all shows me that the executed rules are branch rules.

And another user runs the case type again,the result is the same as mine.

Is there any document about the priority? (not how to create and merge branch)…

@yikaiz17254581

If the branch is present in the application context, then that rule will have priority. But if you have the rule in your private checkout, only you can see the private saved updates. The other user will also see the branch rule getting executed but the private saved updates won’t affect the user, only the last checked-in version of the rule will be reflected.

You can go through the modules mentioned here.

@yikaiz17254581 My understanding is branch rules have higher priority than main rules. When you create a branch, check out a rule, and modify it without merging, Pega executes the branch version of the rule instead of the main ruleset. This applies to all users, not just the one who checked out the rule, as branch rules override main rules during runtime. Checked-out rules also take priority for the user who checked them out, but branch rules apply to everyone using the application. If no branch rule exists, Pega runs the main ruleset version. Let me know if you need any additional details. Thanks

@SohamM95 Thank you , and i finally find the document..

under the [About the RuleSets arrays] chapter