Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tdbinput---iterate---tdbsp

Hi, 

i have designed my job like this

tdbinput--tfilterrow--tflowtoiterate--tdbinput---(iterate)--tdbsp---tlogrow

tdbinput--tfilterrow--tflowtoiterate--tdbinput---(main)--tdbsp---tlogrow

 

By using iterate, I was not able to sync columns by default so adding schema manually in the (tdbsp)schema but if i use main flow, i am able to sync schema by default hence getting the correct result.

so, If I use iterate between tdbinput & tdbsp --- I am seeing null values 

If I use main between tdbinput & tdbsp --- I am seeing values in tlogrow.

 

Could you pls help me here with iterate option.

ThanksIn Advance,

Nik

 

Labels (3)
3 Replies
vapukov
Master II
Master II

Hi Nik

 

you are right - all as described, and it is correct

 

what is your problem with using main connection instead of iterate?

 

regards, Vlad

Anonymous
Not applicable
Author

Hi vlad,

Thanks for your response.
I thought it will not iterate if i use main between TDBINPUT and TDBSP but it does and got the expected result.
Is it only between these two components and do you know the reason?

Thanks,
Nikhitha
vapukov
Master II
Master II

not sure what exactly your question about, but you need to understand the logic

tFlowToIterate it is a loop, with a condition - "for each row from the source dataset"

 

component do not transfer data flow, but instead, it stores each row values to related global variables

by default each column stored to a global variable "connection name.column name" ("row1.column1")

 

than loop execute the following group of components, it could be separate data input, but you can use stored variables as parameters anywhere inside the loop iteration