Bulk delete activity for ADM models
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.
Steps to Reproduce
Developer has to delete a large number of unwanted ADM models one by one.
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.