Azure 逻辑应用程序 - 检查空字符串变量的简单条件失败

标签 azure azure-logic-apps

已解决

问题是由于托马斯指出的子操作错误,而不是我检查变量值的方式。

<小时/>

我有一个之前在洛杉矶初始化过的变量。稍后我尝试使用条件检查变量是否为空。

enter image description here

这是运行历史记录的输出:

enter image description here

enter image description here

此时变量看起来像是一个空字符串,但是条件失败,没有任何有用的信息。

enter image description here

我还尝试过 null 或将变量包装在空命令中并与 true/false 进行比较。所有人都失败了。

最佳答案

您可以使用length表达式中的函数。我发现它也很有帮助coallesce在检查长度之前将值设置为空字符串。

关于Azure 逻辑应用程序 - 检查空字符串变量的简单条件失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50165467/

相关文章:

asp.net-mvc - 如何将 .net MVC4 应用程序设置为使用 azure 存储而不是 sql server

azure - 如何降低 Azure Application Insight 成本

每次我进入编辑模式时,Azure 逻辑应用设计器都会展开所有顶级操作

azure - 如何使用Azure Pipelines将桌面应用程序部署到物理服务器?

java - 容器级别的 Azure 存储指标

azure - 使用逻辑应用从所有子文件夹中获取特定文件,将它们加载到SQL-Azure

azure - 使用 Azure 逻辑应用 HTTP 连接器返回的 JSON

azure-devops - Azure 逻辑应用程序 - 失败,错误 : 'The browser is closed.' . 请重新登录

azure - 在Azure Logic App中,如何在http请求中传递参数?

c# - 通过 Bitbucket 进行 Azure 部署