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

Cannot delete Branch Rulesets

SA-21312

Summary



User is not able to delete branch ruleset using the Delete RuleSet utility.
The progress bar hangs to 0% and the system is not able to calculate the number of rule to be deleted.

Error Messages



 Batch activity "Log-Delete.DeleteRuleSet" threw:
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
    at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:707)
   ...
Caused by: com.pega.pegarules.pub.generator.UnresolvedAssemblyError: ** No code generated for expression (5) - caught DatabaseException while trying to save conclusion Property!PXERRORSCOUNT: Exception saving ClipboardPage instance via e-tier bean: Codice: <none> Stato SQL: EJB Exception: : java.lang.RuntimeException: Problem during method invocation (saveInOwnTransaction)  Messaggio: at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:271) 
    at com.pega.pegarules.priv.FUAUtil.throwUnresolvedAssemblyError(FUAUtil.java:423)
    at com.pegarules.generated.activity.ra_action_deleteruleset_b74184f04493048574bad3d6a6b86857.step15_circum0(ra_action_deleteruleset_b74184f04493048574bad3d6a6b86857.java:1538)
    at com.pegarules.generated.activity.ra_action_deleteruleset_b74184f04493048574bad3d6a6b86857.perform(ra_action_deleteruleset_b74184f04493048574bad3d6a6b86857.java:367)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
    at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:641)
    ... 41 more


Steps to Reproduce

  1. Login to Designer Studio
  2. Open the Refactor Landing Page (Designer Studio > System > Refactor > RuleSets)
  3. Click on the "Delete a RuleSet" link
  4. Enter a RuleSet and Optionally a RuleSet Version
  5. Click on the "Delete" button

Root Cause



A defect or configuration issue in the operating environment:  The compiled version of the DELETERULESET activity saved in the database is not correct

Resolution



Perform the following local-change: Apply the resolution notes provided with SA-18543 specifying RULE-OBJ-ACTIVITY:!DELETERULESET as Virtual Rule Key value.
Suggest Edit

Published March 24, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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