azure - 有没有比条件语句更好的替代方法来停止逻辑应用程序?

标签 azure conditional-statements azure-logic-apps

我当前有一个逻辑应用程序,自该逻辑应用程序以来,该逻辑应用程序具有空的错误路径。我使用条件的唯一原因是当条件为假时 LogicApp 应该停止。当达到特定条件/语句时是否有更好的替代方法来停止逻辑应用?

最佳答案

您可以使用Terminate action :

This action stops the run for a workflow instance, cancels any actions in progress, skips any remaining actions, and returns the specified status. For example, you can use the Terminate action when your logic app must exit completely from an error state. This action doesn't affect already completed actions and can't appear inside Foreach and Until loops, including sequential loops.

您可以引用我的逻辑应用:

enter image description here

这是我的测试结果,看起来没有问题:

enter image description here

关于azure - 有没有比条件语句更好的替代方法来停止逻辑应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65620586/

相关文章:

azure - 在 Azure 中哪里集中 SSL 证书?

azure - 如何检查 Azure 存储文件是否已 Key-Vault 加密

css - 如何在 react 中隐藏具有内联条件样式的链接?

azure - 如何查找 Active Directory OAuth 身份验证的受众字段? (如何从 Azure 逻辑应用程序向 DevOps 发送发布请求?)

javascript - Microsoft Azure ROPC Flow 400 错误请求

azure - 将 secret 添加到卷安装时无效 Base64

javascript - 使用 jQuery 替换与另一个类相邻的类

scala - 我可以在 where 或过滤器中有条件吗?

用于文件迁移的 Azure 逻辑应用

sql-server - 作业数据库和目标数据库是否需要位于不同的服务器上?