我需要在同一子作业talend中运行2 twaitforfile [英] I need to run 2 twaitforfile in the same subjob talend

查看:178
本文介绍了我需要在同一子作业talend中运行2 twaitforfile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用talend在同一子作业中运行2个文件监视程序.现在,如果将它们链接在一起,则在运行talend时,只有一个文件正在运行.

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.

下面是我所拥有的.有没有一种方法可以一起执行它们.这样做的原因是因为我试图将一个表中的Fk从另一个表中的tmap中获取,所以也建议任何有关如何执行此操作的建议: 在此处输入图片描述

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

推荐答案

在一个子作业中,您只能有一个开始"组件(一个绿色背景).这是实际上将等待文件的那个. 您必须拆分子作业才能同时运行两个tWaitForFile.

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.

您可以让一个子作业等待第一个文件,然后通过"on subjob OK"链接将该第一个子作业链接到第二个子作业,您可以在其中等待第二个文件.

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.

这篇关于我需要在同一子作业talend中运行2 twaitforfile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆