on 05-17-2010 6:36 AM
Hi experts.
My source and target structure is:
Field1
Field2
Field3
___Child1
___Child2
___Child3
Field4
Field3 may appear a few times in the source message.
For example:
Field1
Field2
Field3
___Child1
___Child2
___Child3
Field3[1]
___Child1
___Child2
___Child3
Field3[2]
___Child1
___Child2
___Child3
Field4
I need to pass to the target structure the "Field3" who's "Child1" is greater than 5 and "Child2" is greater than 10 and "Child3" is greater than 15.
My problem is that the condition is executed only once for the first "Field3",
and if the check returns
"True" all the "Field3" are copied.
if "False" is returns no one of the "Field3" is passed.
How should i hold the context for it, in order each of the "Field3" elements passes the condition?
Regards Max.
hi,
map required Field3& Child1 field with the target with the required conditions and set the context of both to the higher level.
Regards,
NJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> How should i hold the context for it, in order each of the "Field3" elements passes the condition?
Assign the context of Child(n) to parent of Field3
All child(n) elements should be in same context.
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.