You use groups in a Router transformation to filter the incoming data.
Data Integration uses the filter conditions to evaluate each row of incoming data. It tests the conditions of each user-defined group before processing the default group. If a row meets more than one group filter condition, Data Integration passes the row to multiple groups.
A Router transformation has the following types of groups:
Input
Data Integration copies properties from the input group fields to create the fields for each output group.
Output
There are two types of output groups:
- User-defined groups. Create a user-defined group to test a condition based on incoming data. A user-defined group consists of output ports and a group filter condition. Create one user-defined group for each condition that you want to specify. Data Integration processes user-defined groups that are connected to a transformation or a target.
- Default group. The default group captures rows that do not satisfy any group condition. You cannot edit, delete, or define a group filter condition for the default group. If all of the conditions evaluate to FALSE, Data Integration passes the row to the default group. If you want to drop rows that do not satisfy any group condition, do not connect the default group to a transformation or a target.
You can modify a user-defined output group name. Click the row to open the Edit Output Group dialog box.
Guidelines for connecting output groups
Note the following guidelines when you connect Router transformation output groups to downstream transformations:
•You can connect each output group to one or more transformations or targets.
•You cannot connect more than one group to one target or a single input group transformation.
•You can connect more than one output group to a downstream transformation if you connect each output group to a different input group.
•If you want Data Integration to drop all rows in the default group, do not connect it to a transformation or a target in a mapping.