Azure 逻辑应用-条件操作错误 'The provided types object and object are not compatible'

标签 azure azure-logic-apps

我正在尝试根据来源将电子邮件移至特定收件箱。我已将商店拉出来并将其存储在 Azure sql 表中。然后我还有另一张 table ,里面有我所有的收件箱。

我想做一个条件,如果我的电子邮件主题包含存储在我的收件箱表中的收件箱,则将电子邮件移动到该收件箱,否则不执行任何操作。

我是 Azure 新手,所以我仍在尝试找出可能性,目前收到以下错误。

enter image description here

我的条件操作如下: enter image description here 在这里,我获取存储在收件箱表中的每个 InboxName(value-item),并尝试在我的正文中查找包含我所有电子邮件数据的匹配项。

我无法理解这个错误,有什么想法吗?

我认为我应该指定我想要获取函数的输出(即我的电子邮件内容),并在“收件箱”表中检查它的“收件箱名称”。

enter image description here

最佳答案

BodyValue-item是Object类型的数据。如果您需要执行 Conditon 操作,则需要获取表中特定列的值。

enter image description here

可以引用下面的表达式:

body('Get_row_(V2)')?['<your- column-name>']

items('For_each')?['<your-column-name>']

关于Azure 逻辑应用-条件操作错误 'The provided types object and object are not compatible',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65905878/

相关文章:

python - 如何安装requirements.txt pip错误->由于OSError : [Errno 2] No such file or directory而无法安装软件包

azure - 混合 Azure AD 加入域的多重身份验证

azure - Azure Batch 中的任务失败和退出代码 -532462766

json - 如何执行 Azure 逻辑应用的 'null' 检查 'if' 条件操作

azure - 如何配置我的 azure 应用程序服务以使用 UNC 路径上传内部网络上的文件?

Azure函数: Executing python class

azure - 如何在Azure逻辑应用程序中动态更改GET请求

sql-server - Azure 逻辑应用删除行不起作用

azure - 如何使用 Logic 中的 HTTP 触发器在 Azure DevOps 中创建存储库

azure - 单租户逻辑应用如何为每个工作流设置初始状态