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

Bulk delete activity for ADM models

SA-24465

Summary



Developer requesting for bulk delete activity for ADM models in Pega 7.1.7.

This capability was provided under HFIX-23651 in PRPC 6.2 SP2 DSM edition in the past.


Error Messages



Not Applicable 

Steps to Reproduce



Developer has to delete a large number of unwanted ADM models one by one.

Root Cause



In order to support the deletion of ADM models in bulk in Pega 7.2, a product enhancement request has been added which helps remove the unwanted ADM models from the database provided a list of them is given as input.


pxDeleteModelsByCriteria – activity is used to delete ADM models in bulk. ADM models to be deleted are determined by the criteria selected by this activity's parameters; a model is deleted, if it matches all selected criteria. 
 
Note: This activity is not constrained by Application, only by the criteria provided as parameters. Therefore in most cases you will probably want to constrain by 'applies to' class in addition to the other criteria. See the tooltip / description of each parameter for more info on their usage. Integer output parameter 'NumberDeleted' returns the number of models that were successfully deleted.

Resolution



Provided HFix-27947

Published June 19, 2016 - Updated 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