You are here: Reference > Activity methods > Call another activity > Deleting an external data flow run

Deleting an external data flow run

Use the Call instruction with the pxDeleteRunById activity to delete an external data flow run that is in the New, Completed, Failed, or Stopped state. You need to provide the run ID.

  1. Create an instance of the Activity rule by selecting Activity from the Technical category.

  2. In the activity steps, use the Call pxDeleteRunById method:

    1. Add the first step:

      • Method: Page-New

      • Step page: runOptions

    2. Add the second step:

      • Method: Call pxDeleteRunById

      • Step page: runOptions

    3. In the second step, click the arrow to the left of the Method and specify the runID parameter.

  3. Click Save.