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.
2 REPLIES
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.