Azure data factory 获取数据工厂中的文件名
我正在使用Get Metada活动,需要从活动输出中获取文件名: 输出活动Azure data factory 获取数据工厂中的文件名,azure-data-factory,Azure Data Factory,我正在使用Get Metada活动,需要从活动输出中获取文件名: 输出活动 Output { "childItems": [ { "name": "FILENAME.mdb", "type": "File" } ], "effectiveIntegrationRuntime"
Output
{
"childItems": [
{
"name": "FILENAME.mdb",
"type": "File"
}
],
"effectiveIntegrationRuntime": "xxxxx",
"executionDuration": 0,
"durationInQueue": {
"integrationRuntimeQueue": 5
},
"billingReference": {
"activityType": "PipelineActivity",
"billableDuration": [
{
"meterType": "SelfhostedIR",
"duration": 0.016666666666666666,
"unit": "Hours"
}
]
}
}
非常感谢您的帮助请使用以下表达式:
@activity('Get Metadata1').output.childItems[0].name
我的测试管道:
“Set variable1”的输出:
如果你认为我的答案对你有帮助,你可以记下来。非常感谢。