Best Practices For Team-Based Development
Best Practices For Team-Based Development
Pega Platform™ developers use agile practices to create applications in a shared development
environment leveraging branches to commit changes.
The following diagram shows how multiple development teams interact with the system of
record (SOR).
https://academy.pega.com/topic/best-practices-team-based-development/v3/print 1/4
10/11/22, 12:32 PM | Pega Academy
1. The process begins when Team A requests a branch review against the system of record.
2. A Branch Reviewer first requests conflict detection, then executes the appropriate PegaUnit
tests. If the Branch Reviewer detects conflicts or if any of the PegaUnit tests fail, the reviewer
notifies the developer who requests the branch. The developer stops the process to fix the
issues.
3/4. If the review detects and the PegaUnit tests execute successfully, the branch merges into
the system of record.
5.The ruleset versions associated with the branch are then locked.
6. Remote Team B can now perform an on-demand rebase of the SOR application’s rules into
their system. A rebase pulls the most recent commits made to the SOR application into Team
B's developer system.
The following Sequence Diagram describes the process using changes to the FSG Email
Application as an example:
https://academy.pega.com/topic/best-practices-team-based-development/v3/print 2/4
10/11/22, 12:32 PM | Pega Academy
Actors:
Developer: Member of the Enterprise development team responsible for implement a new
feature in the FSGEmail application.
Branch Reviewer: Member of the Enterprise development team responsible to code review
requests by the Developer, and merge if the code review is successful.
Pega SOR: Pega instance configure as the SOR. This instances is the master of the last
stable changes made to the FSGEmail application.
Booking App Team: Development team responsible for the Booking and Hotel
applications.
Process:
https://academy.pega.com/topic/best-practices-team-based-development/v3/print 3/4
10/11/22, 12:32 PM | Pega Academy
When initially developing an application, open ruleset versions are necessary and desirable.
At some point, a transition can be made to where the application’s non-branched rulesets
always remain locked.
https://academy.pega.com/topic/best-practices-team-based-development/v3/print 4/4