Use the Call instruction with the pxRestartRun or pxRestartRunById activity to restart an external data flow run that is in the Completed, Failed, or Stopped state.
Create an instance of the Activity rule by selecting Activity from the Technical category.
In the activity steps, use one of the following methods:
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
Add the first step:
Method: Page-New
Step page: runOptions
Add the second step:
Method: Call pxRestartRunById
Step page: runOptions
In the second step, click the arrow to the left of the Method and specify the runID parameter.
Click Save.