I need to run 2 twaitforfile in the same subjob talend

笑着哭i 提交于 2019-12-11 17:30:11

问题


I need to run 2 file watchers in the same subjob using talend. Right now If I link them together I get only one file watching running when I run talend.

Below is what I have. Is there a way to execute them together. The reason for this is because im trying to get the Fk from one table into the tmap from another table, so any other suggestion on how to do this is also appreciated: enter image description here


回答1:


In one subjob, you can only have one 'beginning' component (the one with the green background). This is the one which will be actually waiting for a file. You have to split the subjob in order to have both tWaitForFile running.

You can have one subjob waiting for the first file, then link this first subjob with an 'on subjob OK' link to the second subjob, where you can wait for the second file.



来源:https://stackoverflow.com/questions/55020100/i-need-to-run-2-twaitforfile-in-the-same-subjob-talend

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!