on 09-01-2008 12:08 PM
Hi,
how to do following please?
>Source
><body>
><val>1</val>
><val>2</val>
><val>2</val>
><val>3</val>
></body>
>and create
><body2>
><val2>1</val2>
><val2>2</val2>
><val2>3</val2>
></body2>
So I will create only one target node per unique val value from the source?
Thanks,
Olian
val--->SPlitbyValue(Value changed)>CollapseContext->target
regards
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To add on to what Varun has suggested
val>sort>SplitByValue(value change)>collapse context> val2
sort is used in case you get input data like 1,2,3,3,2 ... not in
sort properties --> numerical,ascending
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Olian,
Based on your description, the source and target structure occurences should be set to 0..unbounded or 1..unbounded then you can use the mapping technique as described by Varun..
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I think you will have to write a UDF for this in which you can loop over the incoming values and just pass the unique ones by keeping a check.
Regards,
Manjusha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Olian,
are the values (1,2,3) fixe or variable (1,2,3...n)?
If they are variable you cannot use graphical mapping
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.