Unable to set connection as a lookup connection on a tmap

One Star

Unable to set connection as a lookup connection on a tmap

Hello,
I have a problem while constructing a talend job.
Here is my existing job :

Problem is, I need to invert the 2 input connection of my tMap_1 :
- st_source_localized1 need to be the main connection
- st_localized need to be the lookup connection
But I can't make this work. If I try to invert the two input, I have this error :
Right click on "st_source_localized1" -> "Paramétrer cette connexion en tant que principale" (sorry, I have a french environment).
Here is the error :

How can I make this work ?
It appears that the "st_localized" input cannot be set as a lookup input.
Another workaround would be to make a right join in my tMap, but it is not available.
Thank you in advance for any advice / any help you could provide.
Regards,
Kilian.
Seventeen Stars

Re: Unable to set connection as a lookup connection on a tmap

In Talend you cannot split a flow and recombine it again. 
If you need a flow for more than one purpose write the flow into a tHashOutput first and read this out with a tHashInput multiple times.
One Star

Re: Unable to set connection as a lookup connection on a tmap

Hi jlolling,
It seems my problem was just that the entry of my subjob was not right :
If I want st_source_localized1 to be the main flow, then I need the component st_source_json to be the entrance of my subjob.
My problem was resolved like that.
I will keep in mind your proposition of using a tHashOutput / tHashInput. It could be useful !
Thanks !
Kilian.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog