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 selecting Activity from the Technical category.

  2. In the activity steps, use 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 on the right of a parameter to enable it.

    Note: You can point to individual parameters to display a tooltip with more information.

    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.

  5. Click Save.