cancel
Showing results for 
Search instead for 
Did you mean: 

mapping

Former Member
0 Kudos

In the soure we have a structure like George, peter, john, George,peter and at the target side I want each field

appear once like George, peter, john. How to achieve this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As per your info..the Occurance of source side is more tan 1 ie.e Unbounded

Make the occurance on receiver side as 1, it wil give you only one value as George, peter, john

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Suresh,

You can give the logic as raj suggestion for source your source and target .(or ) I hope according to your requirement graphical mapping is enough mapping source and target fields.

Any clarifacations please reply.

Regards

Naveen

Former Member
0 Kudos

Hi

if u want the each field at the target side only once just put the occurence for each filed as 1..1or 0..1 .

then it willl come only once.

if u still face the problem please reply me back.

Thanks

Rinku

justin_santhanam
Active Contributor
0 Kudos

Suresh,

Let me clear with some example

Source

<Record>

<name/>0..unbounded

</Record>

Target

<Record>

<name/>0..unbounded

</Record>

Now you have

<Record>

<name>George</name>

<name>Peter</name>

<name>John</name>

<name>George</name>

<name>Peter</name>

</Record>

You want the out put as

<Record>

<name>George</name>

<name>John</name>

<name>Peter</name>

</Record>

Correct?

Follow the logic:


name[change context]------->Sort------>SplitByValue[Value Changed]-------->CollapseContext------->name

raj.

Former Member
0 Kudos

hi

in source u map with George, peter, john to target George, peter, john.

then u r porblem will solve..