Skip to main content

Transform a source file to target file

Comments

1 comment

  • David Paras

    There are couple of alternate ways that you can follow as they can be quick and splitting can also be applied in second approach. Below are the approaches that you can follow:

    1. Use a Context Variable/Map/File in which you will store the value of each record before processing it and Use Lookup on this variable/map in mapping that will check if the value is present in it or not, if it is not present then it will be inserted in the map/variable and will be sent to target. In other case if the value is found in this map then that record will not be sent to Target.

    2. Another approach would be using a CustomPlugin before the Data mapper in which you can write a Java Code for removing the duplicate entries of records. Distinct records will be passed to the Data mapping so splitting can also be used in Data Mapper. Please refer to the below link that will help you creating this Custom Plugin in Adeptia:

      http://xquare.ow2.org/fusion/API%20Tutorial.html

    0

Please sign in to leave a comment.