azure - 逻辑应用程序直到 HTTP 调用收到 400 后循环中断

标签 azure azure-logic-apps

enter image description here

在更改限制下,我计数为 8,超时为 PT30M。问题是我想循环八次并尝试该 HTTP 调用,直到收到状态代码 200。但是,如果 HTTP 请求收到 400,我的循环会在第一次调用后中断。我应该在循环中添加什么才能使其正常工作?

最佳答案

您可以初始化一个存储状态代码的变量。

enter image description here

然后使用 Until 操作中的Set variableHttp 操作返回的状态代码分配给该变量。

enter image description here

您需要配置configure run after使您的 Azure 逻辑应用Http 操作失败后仍然运行。

enter image description here

enter image description here

关于azure - 逻辑应用程序直到 HTTP 调用收到 400 后循环中断,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65345250/

相关文章:

sql - Microsoft Azure - 无 SQL 数据仓库

Azure 逻辑应用表插入导致错误

Azure 逻辑应用在 inline_code 操作中使用变量

sql-server - SQL Server 存储过程的限制 - 多个结果集/输出参数

azure - 如何根据文件名运行资源事件发生时?

azure - 使用 HTTP 触发器调用逻辑应用时出现错误 DirectApiRequestHasMoreThanOneAuthorization

Azure Web 应用程序无法访问/停止工作

linq - 如何在 linq to azure 存储查询中选择字段子集

Azure 逻辑应用程序 - 从队列消息的原始输入中删除双引号

c# - Azure 服务总线发布/订阅到多个 azure Web 应用实例