Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Rejection of Delegated rule

SA-66035

Summary



When a reviewer rejects the delegated rule to delete the private checkout, the system displays a Success message that the checked in changes are deleted and the original rule is unlocked. However, the rule is still locked and user cannot perform any action on it.


Error Messages



Not Applicable


Steps to Reproduce

  1. Delegate a rule to a particular access group.
  2. Log in with the user ID for whom the rule is delegated.
  3. Click 'Configure' to open the list of delegated rules.
  4. Click Edit over the delegated rule.
  5. Check-out the rule and check-in after the changes are made. The rule is submitted to the reviewer for approval.
  6. Log in with the Reviewer user ID.
  7. Click the CheckInCandidates available work basket.
  8. Click the rule ID that is submitted for approval in Step 5.
  9. Click Actions and select 'Reject changes and delete private copy'.
  10. Enter a note and click the Submit button. Success message displays that candidate rule is deleted and the original rule is unlocked.
  11. Log in with the same user ID (Step 2). The rule is still locked.


Root Cause



A defect or configuration issue in the operating environment: Locking issue.
The lock is not released when the reviewer rejects the rule changes in the delegated rule. The metadata set on the private rule is not reset when the Work-RuleCheckin changes are rejected.



Resolution

  1. Override the Work-RuleCheckin.Reject flow action.
  2. Change the post processing activity to a new activity (DeleteRulesWrapper).
  3. Create the 'DeleteRuleWrapper' activity.
  4. Invoke the DeleteRules (this is the original post processing activity in Reject flow action).
  5. Invoke the ProcessRMAction on the PrivateRule (processing is required before invoking this activity). See the below screenshot:

Published October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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 Community 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
Contact us