cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi experts,

I am doing a file to file scenario in which i have to change the queue context is it possible? for simple context change we use ResultList.CC in advance UDF but what to do if we want to add a queue cahnge .To dig more deep into the problem i am explaining my scenario.

my output structure is <GROUP> .....(1 to unbounded)

<Records>....(1 to unbounded)

field1

field2

..

..

..

field13

In one group there can be many records and there will be multiple Groups.Suppose in my udf i want to add a queue change to add some field in other group then how will i achive it ? please guide me with ur inputs

Regards,

Saurabh

0 Likes
View Entire Topic
Former Member
0 Likes

Hi Mario,

Thanks for ur quick reply,but when i used it i got the error" non-static method addContextChange() cannot be referenced from a static context ResultList.addContextChange();".please tell me if i have to do any other setting to use this code.Secondly hope u understand my requirement i have to add context change to move to diffrent queue not simple context change.

Please feel free to ask any question if u have not understood clearly .

Regards,

Saueabh

stefan_grube
Active Contributor
0 Likes

You can use result.addContextChange()

See also:

/people/stefan.grube/blog/2005/12/30/test-user-defined-functions-for-the-xi-graphical-mapping-tool-in-developer-studio

Regards

Stefan