Configuring the DataFlow-Execute method for a data flow with stream input
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.
-
Create an activity rule from the Explorer panel, by clicking Records > Technical > Activity > +Create, to start the DataFlow-Execute method.
For more information, see Activities - Completing the New or Save As form.
-
Click the activity Steps tab.
-
In the Method field, enter DataFlow-Execute.
-
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.
-
Optional: Enter a description for the method.
-
Click the Arrow icon to the left of the Method field to expand the Method Parameters section.
-
Specify the following parameters:
-
In the Data flow field, enter the name of a data flow with stream input.
-
In the Operation list, select the type of operation. Depending on the type of operation, specify additional settings.
-
Activate — Activate the data flow.
-
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.
-
-
Deactivate — Deactivate the data flow.
-
In the Run ID field, enter a run ID of a data flow that you want to deactivate.
-
-
Get progress — Get the progress of the data flow.
-
In the Run ID field, enter a run ID of a data flow.
-
In the Progress page field, specify a page of the Data-Decision-DDF-Progress class.
-
-
-