ADFv2触发器 [英] ADFv2 Trigger

查看:96
本文介绍了ADFv2触发器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了触发器,并且它每分钟运行一次.有时,管道需要花费超过1分钟的时间来处理数据.在那种情况下,如果计划的管道已经在运行,我不希望触发器运行.有什么逻辑可以处理吗?

I have set up trigger and it runs every minute. Sometimes pipelines takes longer than 1 minute to process data. In that case i do not want the trigger to run if scheduled pipeline is already running. Is there any logic to handle this?

谢谢

周杰伦

推荐答案

根据您上面提到的,我相信您正在使用计划触发器,对吧?

According to you mentioned above, I believe you're using Scheduling trigger, right?

以这种方式,恐怕我们不能设置仅在管道运行完成时才触发触发器的逻辑,因为触发器是管道控制流的源,并且没有传递条件的方法触发器的参数.请增加 大于1分钟的重复发生是一种解决方法.希望这会有所帮助.

In this way, I'm afraid we can't set the logic to fire the trigger only when pipeline run to completion, because the trigger is the source of the pipeline control flow and there isn't a way to pass condition parameters to the trigger. Please increase the recurrence as larger than 1 minute as a workaround. Hope this would be helpful.

谢谢.


这篇关于ADFv2触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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