Discussion

How can I delete rules in bulk ? includes variety types of rules Activity, Property,DataTransform etc.

How can I delete rules in bulk ? includes variety types of rules Activity, Property,DataTransform etc.

I have a list of garbage rules in my environment. Is there any in built activity we can use for bulk delete them.
If not Please suggest what are the tables, from where we have to delete the records.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

Pega
February 25, 2015 - 1:02am

There is no OOTB "Out Of The Box" process to provide bulk deletion of rules. This process would require writing an activity rule to remove the rules. Rules should never be deleted directly from Pega tables. There are over 160 tables in the Pega scheme with foreign keys created, depending on the type/relationship of the rules.

April 13, 2015 - 2:10am

Checked out rules can be deleted in bulk.

April 13, 2015 - 2:56am

Even checked out rules can't be deleted in bulk.

Either you can use Pega OOTB deletion to delete rules in a particular ruleset version.

But that would delete all rules for that ruleset version, you cant delete selective rules.

Pega
April 22, 2015 - 11:37am

Checked out rules can be deleted through the bulk actions option on the View your checkouts button (the checkmark next to search in the top panel).  Regardless this will only discard the checkout rule and not delete the rule only the checked out version.

Regards,

Sean

Pega Academy

September 22, 2016 - 10:20am

Deleting the ruleset will be the best option.