A Router transformation is similar to a Filter transformation because both transformations allow you to use a condition to test data. A Filter transformation tests data for one condition and drops the rows of data that do not meet the condition. However, a Router transformation tests data for one or more conditions and gives you the option to route rows of data that do not meet any of the conditions to a default output group.
A Router transformation consists of input and output groups, input and output ports, group filter conditions, and properties that we configure in the Designer.
Working with Router transformation:
- Import/ create soure and target.
- In the mapping drag source, target, create Router transformation .
- Edit Router Transformation. Go to Groups Tab
- Click the Groups tab, and then click the Add button to create a user-defined group. The default group is created automatically..
- Click the Group Filter Condition field to open the Expression Editor.
- Enter a group filter condition.
- Click Validate to check the syntax of the conditions you entered.
- Create another group if neccessary.
- The rest of the records not matching the above conditions will be passed to DEFAULT group.
- Click OK -> Click Apply -> Click Ok.
- Now connect the ports from router to target tables.
- Then validate Mapping and save.
- Create Session and Workflow. Run the workflow
After reading this blog i very strong in this topics and this blog really helpful to all Informatica Online Course
ReplyDelete