You are here: Reference > Activity methods > Call another activity > Deleting adaptive models

Deleting adaptive models

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.

  1. Create an instance of the Activity rule by clicking Records Explorer > Technical > Activity.

  2. In the activity steps, enter the Call DSMPublicAPI-ADM.pxDeleteModelsByCriteria method.

  3. Click the arrow to the left of the Method field to expand the method and specify its parameters.

  4. Optional: Select a check box to the right of a parameter to enable it.

    You can point to individual parameters to view a tooltip with more information.

    Rule name, class, parameters that correspond to the action dimension, and parameters that correspond 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.

  5. Click Save.