Use the Call instruction with the DSMPublicAPI-ADM.pxDeleteModelsByCriteria activity to delete all adaptive models that match the criteria defined by the parameters. You can use this method to set up an activity to regularly delete the models that you do not need.
Create an instance of the Activity rule by selecting Activity from the Technical category.
In the activity steps, use the Call DSMPublicAPI-ADM.pxDeleteModelsByCriteria method.
Click the arrow to the left of the Method field to expand the method and specify its parameters.
Optional: Select a check box on the right of a parameter to enable it.
Note: You can point to individual parameters to display a tooltip with more information.
Also delete from the ADM data mart - Delete the corresponding models stored in the data mart.
Select by number of responses - Delete the models with a given number of responses, for example, >= 1000, !=0, or >50.
Select by performance - Delete the models with a given performance, for example, =100, or <50.
Select by rule name - Delete the models that were created by the given adaptive model configuration.
Select by class - Delete the models that were created by the adaptive model configuration in the given class.
Select by issue - Delete all models that were created for a given issue in the action dimension.
Select by group - Delete all models that were created for a given group in the action dimension.
Select by name - Delete all models that were created for a given proposition in the action dimension.
Select by direction - Delete all models that were created for a given direction in the channel dimension.
Select by channel - Delete all models that were created for a given channel in the channel dimension.
Number deleted - This is an output parameter that allows you to pass the number of models deleted when you run the activity.
Note: Rule name, class, parameters corresponding to the action dimension, and parameters corresponding to the channel dimension always take the value of the corresponding configuration parameters. When these parameters are enabled, an empty value is interpreted as a wildcard.
Click Save.