Hi, My workflow is tMysqlInput -> tflowToIterate -> tJavaflex. For each record in input, I want to test for a particular condition. if it is true, i want to store value of one column in that row in an array. Finally I want to look my array like this : [201501,201502,201503]. I want to store this value in context variable and the use in SQL query as "select * from mytable where column1 in"+context.contextVariable1. I tried to use Arraylist as mentioned above and stored it in a context variable of type 'object'. But then it shows error saying that incorrect syntax in sql query and mysql does not know how to access [[201501],[201502],[201503]]. This is the format list gets stored in context variable. If I use int array to store these values in javaflex, what should be type of my context variable which would have this value later? Please suggest me some way to accomplish this. I am stuck here for last 2 days!ÃÂ Thanks and regards, Himani
↧