当有平行转换时,如何将成功的步骤放在工作中?
我有一项工作,其中包括序列3个作业,每个作业都进行了大约20个并行转换。如果我对每个转换都有成功步骤,那么成功的第一个输入的成功步骤将触发,但是我需要Job2才能在每个转换在Job1中结束后开始工作。我只是没有在任何工作中取得成功的一步,还是有其他方法可以做到这一点?谢谢。
I have a job which includes sequencial 3 jobs that each makes around 20 parallel transformations. If I have a success step for each transformation the success step which gets the first input gets triggered, but I need JOB2 to start working after every transformation ends in JOB1. Do I just not put a success step in any of the jobs or is there another way to do that? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果将Job2作为20个并行转换的下一个条目,它不会被执行20次吗?还是您的意思是,在所有20个转换完成后,您需要Job2才能执行一次?
如果您需要执行20次Job2,则只需将Job2连接到20个转换:
如果您需要仅执行一次Job2,那么当所有20个转换都成功完成时,并且不执行如果一个或多个转换以错误结束,那么您可以创建具有20个变换的Job1,而无需成功步骤(不是强制性的),当所有转换成功完成时,它将成功结束:
然后您创建第三个作业以运行第一个Job1,然后在Job1成功完成时Job2:
If you put JOB2 as next entry for the 20 parallel transformations doesn't it get executed 20 times? Or do you mean that you need JOB2 to get executed just once, after all 20 transformations have finished?
If you need to execute JOB2 20 times, then you just connect JOB2 to the 20 transformations:
If you need to execute JOB2 just once, when all 20 transformations have finished succesfully, and not to execute if one or more of the transformations finish with an error, then you create JOB1 with the 20 transformations and no need of a Success step (it is not mandatory), it will end succesfully when all the transformations finish successfully:
And then you create a third job to run first JOB1 and then JOB2 when JOB1 has finished successfully: