on 04-12-2011 12:19 AM
Hi Gurus,
is there any way in which I can save context data into an Array so then I can compare context value and select which one should I use?
For example, I have:
field1
node1
>>field2
So field2 is under node1, and node1 is in the same level as field1.
If I want to save field1 data and field2 data into 2 different arrays, and then use condition:
if field2 = "ABC", then map field1
without loosing it context, is this possible? How should it be?
Thanks!
Regards.
Thanks all for reply.
I want to do this but with UDF since it is impossible to do it with the node functions.
Anyone knows how the java code is for my initial question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Take
field1 -> removecontext -> equal -> ifwithoutelse -> splitbyvalue -> target element
|-> field1->
field2 - |
This grah should help You
Regards
Maciej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to change the context of field2 to the context of field1.
But u have to make sure field2 is repeating only once under node1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
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.