Skip to main content
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Customization of the Rule check-in approval process

The rule check-in feature allows you to use a process to manage changes to the application. Use this feature to ensure that checked-in rules meet the quality standards by ensuring a senior member of the team reviews them. Use this facility to control changes to sensitive applications.

Pega Platform™ comes with the Work-RuleCheckIn default case type for the approval process. The case type contains standard properties and activities and a flow called ApproveRuleChanges that controls the rule check-in process.

The following diagram shows the process for rule check-in approval:

Checkin_approval

When the default check-in approval process is in force for a ruleset version, the flow begins when a developer begins rule check-in. The flow creates a case that is routed to a workbasket. The Work-RuleCheckIn.FindReviewers decision tree returns the work queues. Rules awaiting approval are moved to the CheckInCandidates ruleset.

For more information about creating rule check-in approval, see Configuring the rule check-in approval process.

By default, the review cases are assigned to a work queue with the same name as the candidate ruleset defined in the Work-RuleCheckIn.pyDefault data transform. Override the Work-RuleCheckIn.FindReviewers decision tree if you want to route to a different work queue based on certain criteria.

The approver can provide a comment and take three actions:

  • Approve the check-in to complete the check-in process and resolve the rule check-in case.
  • Reject the check-in to delete the changed rule and resolve the rule check-in item.
  • Send back to developer to route the case to the developer and move the rule to the developer's private ruleset.

Affected parties receive notifications by email about the evaluation results.

You can enhance the default rule check-in approval process to meet the requirements of your organization.

Rule check-in approval process for branch rulesets

When using branch-based development, the individual rule check-ins have been emphasized less, as it is likely the review needs to happen on the entire change set that will be in the branch.  Best practices for branch-based development would include:

  • Ensure that branches are associated only with the story of bug or user stories of a sprint. Merge as soon as that work is complete and reviewed.
  • Ensure that the changes introduced in the branch are of high quality by reviewing the Branch quality tab.
  • Review the entire change done in the branch by using the branch review feature.

The rule check-in approval process in the branch ruleset is not as relevant as in regular rulesets.

Check your knowledge with the following interaction:


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

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 Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice