Data Flow rule form
|
|
Data flows provide a design experience based on selecting the patterns you apply, starting from source and ending in destination. Unlike strategies and process flows, you do not add components or shapes directly to the data flow, you define patterns by clicking the add icon available when you focus on a shape, and selecting from the instructions you can use to create paths that lead to the destination. As a result, the visual layout of the data flow is determined by the sequence of instructions or execution points and, as you define the properties of each shape, the data flow calculates the connection to the destination.
You can toggle the way you visualize the labels of the shapes in data flow canvas by selecting Names or Classes in the data flow toolbar:
Source is the standard entry point of a data flow. A source defines data you read from through the data flow.
The compose pattern allows you to combine data from two sources into a page or page list property. This pattern requires a property to match data between the two sources. The starting data point is the shape where you start combining data from. Once the compose path is available, you define the secondary source by providing an existing data set or another data flow.
The convert pattern allows you to take data in one class and put it in another, overwriting identical properties (by name), or explicitly mapping properties that do not have the same name between source and target. This pattern requires a property to match data between the two sources. The data you pass is determined by the starting shape for the convert path. Once the convert path is available, you define its properties by selecting the target class and how to handle property mapping between source and target.
The mapping of properties between source and target can be handled automatically, or you explicitly define how to map source and target properties.
The event strategy pattern allows you to run an event strategy in a data flow.
Configuring the event strategy pattern
The filter pattern allows you to specify filter conditions and apply them to each element of the input flow. The output flow consists of those elements which satisfy the filter conditions.
Configuring the filter pattern
In the left field, specify the name of a property to be used by the filter.
The merge pattern allows you to combine data in the primary and secondary data paths into a single track. This pattern requires the source to be in the same class, conditions to match between the primary and secondary sources, and how to handle data mismatches. The starting data point is the shape where you start merging data from. Once the merge path is available, you define the secondary source by providing an existing data set or another data flow.
In cases of no data match, you can select the option to exclude the source component results that do not match the merge condition. If one of the specified properties does not exist, the value of the other property is not included in the class that stores the merge results.
In cases of data mismatch, you can select which source is leading:
The strategy pattern allows you to run a strategy based on combined or not combined data. The data you pass to execute the strategy is determined by the starting shape for the strategy path. Once the strategy path is available, you define which strategy to run and, if applicable, model learning and outcome capture settings.
Model learning and outcome capture settings are related, but exclusive. In a data flow, each strategy can only run in one context: storing adaptive inputs and strategy results, or retrieving them.
By default, the strategy results are stored in the SR class. If you need, you can change it and select the input class of the strategy pattern as the output class. You can also specify any other class where you want to store your strategy results.
Note: When you decide to change the output class, map the properties from the SR class to the properties of the class you select.
The destination is the standard output point of a data flow. A destination defines the data point you write to.