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 in the Dev Studio navigation panel by clicking Records > Technical > Activity.
  2. In the activity steps, enter 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 the 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.