Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring the DataFlow-Execute method for a data flow with stream input

Updated on May 17, 2024

You can automate data management operations for a data flow with stream input by using the DataFlow-Execute method. You can perform these operations programmatically, instead of doing them manually.

  1. Start the DataFlow-Execute method by creating an activity rule from the navigation panel, by clicking RecordsTechnicalActivityCreate.
  2. Click the activity Steps tab.
  3. In the Method field, enter DataFlow-Execute.
  4. In the Step page field, specify the step page on which the method operates, or leave this field blank to use the primary page of this activity.
  5. Optional: Enter a description for the method.
  6. Click the Arrow icon to the left of the Method field to expand the Method Parameters section.
  7. In the Data flow field, enter the name of a data flow with stream input.
  8. In the Operation list, select the type of operation. Depending on the type of operation, specify additional settings by performing the following actions:
    • To specify the Activate operation, go to step 9.
    • To specify the Deactivate option, in the Run ID field, enter a run ID of a data flow that you want to deactivate.
    • To specify the Get progress option, go to step 10.
  9. Select an option for a data flow run activation:
    • Select the Run ID option and enter a run ID of a data flow.
    • Select the Run Options option and specify a page of the Data-Decision-DDF-RunOptions class.
    Note: The data flow run fails when a run with the same ID already exists and you repeat it with a different data flow. If you repeat an existing run with new configurations, then the configurations are merged with the previous ones. The new run options overwrite the old ones, with the exception of parameters that were passed in the previous configurations but are not included in the new ones.
  10. Specify the Get progress option by performing the following options:
    1. In the Run ID field, enter a run ID of a data flow.
    2. In the Progress page field, specify a page of the Data-Decision-DDF-Progress class.
  • Previous topic Configuring the DataFlow-Execute method for a data flow with abstract output
  • Next topic Configuring the DataFlow-Execute method for data flows with non-stream input

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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