You are here: Reference > Activity methods > Call another activity > Specializing activities

Specializing activities

Use the Call instruction with the Data-Decision-DDF-RunOptions.pyPreActivity and Call Data-Decision-DDF-RunOptions.pyPostActivity activities to define which activities should be run before and after batch or real-time data flow runs that are not single-case runs. Use the activities to prepare your data flow run and perform certain actions when the run ends. Pre-activities run before assignments are created. Post-activities start at the end of the data flow regardless of whether the run finishes, fails, or stops. Both pre- and post-activities run only once and are associated with the data flow run.

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

  2. In the activity steps, enter one of the following methods:

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

  4. Click Save.