Retrieving the status of an external data flow run
Use the Call instruction with the pxLoadStatus activity to retrieve the status of an external data flow run to check it state. You can check if the data flow run is completed or it failed for some reason.
- Create an instance of the Activity rule in the Dev Studio navigation panel by clicking .
-
In the activity steps, enter the
Call pxLoadStatus
method:
-
Add the first step:
- Method: Page-New
- Step page: work
-
Add the second step:
- Method: Property-Set
- Step page: work
-
In the second step, click the arrow to the left of the
Method
field to specify properties of the
work
class:
- .pyID - Identifier of a work object that represents the external data flow run.
-
Add the third step:
- Method: Call pxLoadStatus
- Step page: work
-
Add the fourth step:
- Method: Property-Set
- Step page: work
- In the fourth step, click the arrow to the left of the Method field to specify the property in which you want to store the status of an external data flow run, for example, PropertiesName : Local.status, PropertiesValue : .pyStatusWork.
-
Add the first step:
- Click Save.