Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
when i start with the url:"https://flow.pluralsight.com/v3/customer/core/repos/?offset=0"
it gives the data of 100 records like
its not showing any output i think it has gone into infinite loop
and my tjava_1 has no code and how to refer globalMap to the trestclient_2 to the tjava_2 component
output is struck in the same one since 10min
Your tLoop needs to be linked to the next component using the "iterate" link.
Sorry, I didn't spot the tLoop OnSubJobOK link in your screenshot previously
Thanks a lot the final solution is going into infinite loop so please help it
You will have to test the value that is being returned by the "next" element. You are setting this in the tJavaFlex, right? What code do you have for this? Also, can you show the logic of the tLoop?
tloop component
tjavaflex component
I'm afraid the end of your if condition is not visible in the screenshot
code in the tjavaflex component is written in the main code part
String rurl = row2.next; if(rurl!=null){ globalMap.put("myUrl", rurl); }else{ globalMap.put("myUrl", null); }
sorry for the inconvience
Can you export your job and post it on here please? I think I need to look at the actual job. It looks like it should be working. If you have any passwords or usernames anywhere in the job, please remove them or set them to empty Strings. Oh and what version of Talend are you using?