Skip to main content

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Retrieving the status of an external data flow run

Suggest edit
Updated on April 5, 2022

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.

  1. Create an instance of the Activity rule in the Dev Studio navigation panel by clicking RecordsTechnicalActivity.
  2. In the activity steps, enter the Call pxLoadStatus method:
    1. Add the first step:
      • Method: Page-New
      • Step page: work
    2. Add the second step:
      • Method: Property-Set
      • Step page: work
    3. 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.
    4. Add the third step:
      • Method: Call pxLoadStatus
      • Step page: work
    5. Add the fourth step:
      • Method: Property-Set
      • Step page: work
    6. 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.
  3. Click Save.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us