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.
- Create an instance of the Activity rule in the Dev Studio navigation panel by clicking .
-
In the activity steps, enter the
Call pxStartRun
method:
- Add the first step:
- Method: Page-New
- Step page: runOptions
- Add the second step:
- Method: Property-Set
- Step page: runOptions
-
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.
- Add the third step:
- Method: Call pxStartRun
- Step page: runOptions
- Add the first step:
- Click Save.
Previous topic External data flow methods Next topic Starting an external data flow run