on 02-01-2011 11:08 AM
Hi All,
I have a requirement to do a graphical mapping from a Single row in Source to Multiple rows in target.
Source:
<SingleRow>
quanutity_1
quanutity_2
quanutity_3
</SingleRow>
Target:
<SingleRow>
<item>
quantity
</item>
<item>
quantity
</item>
<item>
quantity
</item>
</SingleRow>
please suggest.
regards,
Piyush
Hi Piyush,
if your source and target structure same what you have mentioned then it is very easy..
create target strcuture like below duplicate it 3 times and map it.
<item>1..unbouded
quantity
</item>
Regards,
RAJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Usage of useOneAsMany:
The first input parameter expects the list of values that we want to propagate to the target message.
The second input parameter expects the number of iterations or how many times we want to replicate the value given in the first parameter.
The third input parameter is the list of context changes. Depending on this parameter the source values will be propagated to the target after every context change.
Also,For this function to work as expected, the first two parameters must contain the same number of contexts while the last two parameters must contain the same number of values
Thanks
Hi Piyush,
Create a suplicate subtree of the target structure and map the fields, you would be able to achieve the requirement.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.