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

Creating and starting an external data flow run

Use the Call instruction with the pxStartRun activity to create and start an external data flow run.

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

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

    1. Add the first step:

      • Method: Page-New

      • Step page: runOptions

    2. Add the second step:

      • Method: Property-Set

      • Step page: runOptions

    3. In the second step, click the arrow to the left of the Method field to specify properties of the runOptions class:

      • .pyAppliesTo - Class that contains an instance of the External Data Flow rule that you want to run.

      • .pyRuleName - Name of the External Data Flow rule instance that you want to run.

      • .pyHadoopInstance - Name of Hadoop record with a configuration of the Hadoop environment on which you want to run the External Data Flow rule instance.

    4. Add the third step:

      • Method: Call pxStartRun

      • Step page: runOptions

  3. Click Save.