on 08-10-2007 4:34 PM
HI All
I have the following structure for my message type
MT1
-
Elem1 (1..1)
-
Recordsets (0..unbounded)
-
RecElement1 (1..1)
-
RecElement2 (1..1)
I am trying to map RecElement1 to a target field , by using a user defined function which accepts RecElement1 as an input parameter . But i am getting a strange behaviour. The User defined fn gets called twice somehow.
Suppose i have three Recordset nodes . The UDF gets called once for the first node and thereafter it gets called twice for each RecElement1 in the subsequent nodes.
Can anyone help me on this.
Thanks in advance.
regards
Nilesh
what is the context of the RecElement1
for the UDF have u used caching the whole queue or using context
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nilesh,
Check Context level of RecElement1 in your mapping. If you set up at header level, funtion will call only once.
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You Change the UDF type to Queue to execute only once because for each value it is executing now because its type is VALUE.
Warm Regards,
Vijay
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 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.