检查管道 [英] check pipeline

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

问题描述

我正在使用v2版本的datafactory.

我有一个带有触发器的管道.

当它启动时,我希望有一个管道来检查是否要执行该管道.

如何在json中执行此操作.
使用活动吗?

活动" ;: [
              {
                 名称":"MyIfCondition",
                 类型":"IfCondition",
                 "typeProperties":{
                     表达式":{
                         值":"@ equals(管道()状态,'InProgress')"
                         "type":"Expression"
                      },

                     "ifTrueActivities":[

I am using the v2 version of the datafactory.

I have a pipeline that has a trigger.

When it starts I want to have a pipeline that checks if that is to be executed.

How do I do this in json.
Use if activity?

activities ": [
             {
                 "name": "MyIfCondition",
                 "type": "IfCondition",
                 "typeProperties": {
                     "expression": {
                         "value": "@equals (pipeline (). status), 'InProgress')"
                         "type": "Expression"
                      },

                     "ifTrueActivities": [

推荐答案

Hi  If条件活动提供的功能与if语句以编程语言提供的功能相同.当条件为真时,它将评估一组活动,而当条件为真时,它将评估另一组活动 评估为假.

The If Condition activity provides the same functionality that an if statement provides in programming languages. It evaluates a set of activities when the condition evaluates to true and another set of activities when the condition evaluates to false.

您可以参考

You may refer to the Control activities in Azure Data Factory.


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

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