Stopping an external data flow run
Use the Call instruction with the pxStopRun or pxStopRunById activity to stop 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 one of the following methods:
pxStopRun
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:
.pyWorkObjectId - Identifier of the work object that represents the external data flow run.
Add the third step:
Method: Call pxStopRun
Step page: runOptions
pxStopRunById
Add the first step:
Method: Page-New
Step page: runOptions
Add the second step:
Method: Call pxStopRunById
Step page: runOptions
In the second step, click the arrow to the left of the Method and specify the runID parameter.
You can find the run ID on the Data Flows landing page.
- Click Save.
Previous topic Starting an external data flow run Next topic Deleting an external data flow run