
How to Process CSV in Talend: Send Requests for 5 Lines with Complementary Data
I'm working on a Talend flow where I need to process a 10-line CSV file. The first 5 lines should be sent as separate API requests, while the last 5 lines serve as complementary data for each request.
Issue: I split the data in tMap, storing complementary data in tHashOutput. When using tHashInput to retrieve stored data, I get a runtime error saying it's not initialized. Talend also doesn’t allow a closed loop, making iteration tricky. What I Tried: Using tFlowToIterate to process the first 5 lines. Fetching complementary data from tHashInput. Ensuring tHashOutput runs first, but still encountering errors. How can I correctly structure this process to avoid errors? Any suggestions? loklok mod apk