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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
himanshup
Contributor III
Contributor III

I need to iterate through a loop and call tRESTClient component

Hello,

I have a tRESTClient component which I need to call using a tLoop component.

The output from tRESTClient is a JSON string that I am using tReplicate component to extract two levels of the JSON string.

I then use tJavaRow component to update the loop variables so it can call tRESTClient based on the new loop variables.

The difficulty I am having is that I am not sure how I can connect the tLoop component to the tRESTClient component.

himanshup_0-1732302670330.png

 

We are on: Talend Studio version 8

 

 

Labels (3)
1 Solution

Accepted Solutions
Sonal_Reddy_18
Partner - Contributor II
Partner - Contributor II

Hi Himanshu,

Please connect the tloop to a tjava via iterate and then connect tjava to tRestcomponent via On Component Ok. Find the screen shot below.

Sonal_Reddy_18_0-1732310491717.png

 

View solution in original post

4 Replies
Sonal_Reddy_18
Partner - Contributor II
Partner - Contributor II

Hi Himanshu,

Please connect the tloop to a tjava via iterate and then connect tjava to tRestcomponent via On Component Ok. Find the screen shot below.

Sonal_Reddy_18_0-1732310491717.png

 

Madhav_Nalla
Partner Ambassador
Partner Ambassador

some times we need to use place holder components like tJava as in above case to enable the iteration and also as show above it is recommended to use tHTTP client component over tRest client components

himanshup
Contributor III
Contributor III
Author

Thank you.

Your suggestion worked.

 

himanshup
Contributor III
Contributor III
Author

Thank you