Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure data factory 我能';t在数据工厂管道内的Azure函数名中使用动态连接_Azure Data Factory_Azure Data Factory 2 - Fatal编程技术网

Azure data factory 我能';t在数据工厂管道内的Azure函数名中使用动态连接

Azure data factory 我能';t在数据工厂管道内的Azure函数名中使用动态连接,azure-data-factory,azure-data-factory-2,Azure Data Factory,Azure Data Factory 2,我在管道中的Azure函数的函数名设置中定义了一个concat表达式,它将API查询与我要在此函数上运行的当前文件名连接起来。当我调试管道时,它失败了,没有给我任何反馈。它只是说“AzureFunction失败:” 如果我手动插入字符串,它可以正常工作 concat表达式为: @concat('HttpTrigger?filename=', variables('filename')) 我是Azure新手,有什么办法可以调试它吗?您可以在Azure函数活动中使用Set 在变量活动中,设置变量

我在管道中的Azure函数的函数名设置中定义了一个concat表达式,它将API查询与我要在此函数上运行的当前文件名连接起来。当我调试管道时,它失败了,没有给我任何反馈。它只是说“AzureFunction失败:”

如果我手动插入字符串,它可以正常工作

concat表达式为:

@concat('HttpTrigger?filename=', variables('filename'))
我是Azure新手,有什么办法可以调试它吗?

您可以在Azure函数活动中使用Set

在变量活动中,设置变量的值

然后在Azure函数活动中引用变量:

@concat('HttpTriggerJS1?name=',variables('name'))

试试这个方法:
@concat(variables('FirstName')、variables('LastName'))

我试过了,同样的事情发生了。当我设置一个变量并在函数名设置中使用它时,如果我稍后检查输入,它会显示命令,而不是连接的值,应该这样吗?