Four Stars

tMongoDBOutput include two array types in collection



I am working with mongodb. My collection has 2 array fields. In both array I will have some values. In tmongooutput, I have successfully created one array field which is grouped by a primary key. But I am not able to set the other array field. I noticed that I can only set one element as loop element at a time.  Input is csv.


Can anyone please give a solution how to create a collection which has 2 array fields? any way to set 2 loop elements?


Thanks in advance.



  • Big Data
  • Data Integration
  • Talend Integration Cloud

Re: tMongoDBOutput include two array types in collection


Could you please elaborate your case with an example with input and expected output values?

Best regards


Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.