Support Article
Bulk delete activity for ADM models
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.