【发布时间】:2017-10-17 12:30:48
【问题描述】:
在 SFTP 文件夹中添加或修改新文件时,我必须将文件名和文件内容传递给 Azure 函数。我能够传递它们,但文件内容作为复杂类型 json 传递,如下所示:
{
"fileContent": {
"$content-type": "application/octet-stream",
"$content": "QWxvZnQgQidoYW0gU29obyBTcSAgICAg=="
},
"fileName": "testFile"
}
我只需要将 $content 传递给 Azure Function。我当前的代码在逻辑应用程序中如下所示
"body": {
"fileContent": "@triggerBody()",
"fileName": "@triggerOutputs()['headers']['x-ms-file-name']"
},
如何仅将 FileContent 中的内容传递给 Azure 函数?
【问题讨论】:
标签: azure-logic-apps