(ADF V2)如何检查“第一”是否“For Each”中的Item()值一片空白 [英] (ADF V2) How to check if "First" Item() value in "For Each" IS NULL
问题描述
如何检查"First"是否"For Each"中的Item()值活动IS NULL或某个特定值。
How to check if "First" Item() value in a "For Each" activity IS NULL or some specific value.
推荐答案
您好,
检查项目是否是一些特定值,您可以在ADFv2中使用IF条件活动,参考: https://docs.microsoft.com/en-us/azure/data-factory/control-flow-if-condition-activity
To check whether an item is some specific value, you can use IF Condition activity in ADFv2, reference: https://docs.microsoft.com/en-us/azure/data-factory/control-flow-if-condition-activity
Foreach活动使用'@item()'来引用集合中的每个项目,我担心我们无法确定某个项目是否仅是依赖于foreach活动的第一个项目。
Foreach activity uses '@item()' to reference each item in collection, I'm afraid we couldn't identify whether an item is the first item only relying on foreach activity.
这篇文章 https://docs.microsoft.com/en-us/azure/data-factory/control-flow-if-condition-activity可能会给你一些帮助。
This post https://docs.microsoft.com/en-us/azure/data-factory/control-flow-if-condition-activity may give you some help.
这篇关于(ADF V2)如何检查“第一”是否“For Each”中的Item()值一片空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!