Four Stars

listOfValue context does not work.

Hi Talend Team,

I am having a problem when using the listOfValue context type in creating a context value. It seems it does not work. I have an array list of values that I want to store inside one context value. So I created a context value and set the Type to "listOfValue" and inputted my set of values as shown below: 

talend_context.JPG

 

Then as I tried to execute a test job using a tJava and print them(using a simple System.out.println)to see if I can get a random list of values out of the context. This is what happened:
talend_context2.JPG
 So it will only list the FIRST value that I set. I am not sure what is causing this, and apparently Im not the only one experiencing this because I think I have seen this in the old talend forum site(talendForge) which by God knows what does not seem to open(Is the site officially dead?). 

Anyways, any help would be gladly appreciated. 

Regards, 

-Locke

  • Big Data
  • Data Integration
Tags (2)
1 REPLY
Five Stars

Re: listOfValue context does not work.

Please provide your code in tjava component