是否可以重新提交Logic Apps的失败部分或任何替代方案? [英] Is it possible to resubmit the failed parts of a Logic Apps or any alternatives?

查看:53
本文介绍了是否可以重新提交Logic Apps的失败部分或任何替代方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


感谢您阅读此帖,这是一个场景。


我有一个Logic Apps,它有一个ForEach动作,默认循环5次,向5个webservices发送不同的POST请求。假设,如果在运行中,由于某种原因只有第二个循环失败,其余4个发送成功。在这种情况下,I
需要做的就是点击"重新提交"。运行历史记录中的按钮,以便整个工作流程再次运行,但这意味着将重新发送4个成功的发送。换句话说,4个web服务将收到重复的数据。


我是否知道是否可以重新提交1个失败的发送?如果逻辑应用程序不支持,你对解决方法有什么看法吗?


非常感谢!


Naralee 

解决方案

您可以使用重试政策作为  文档中的说明 除了任何连接异常外,还适用于间歇性故障,其特征为HTTP状态代码408,429和
5xx。默认值为指数间隔策略设置为重试4次。



Hi,

Thank you for reading this post and here is the scenario.

I have a Logic Apps, it has a ForEach action, which by default loops 5 times to send out different POST requests to 5 webservices. Let's say, if in a run, only the second loop failed for some reason and the rest of 4 sends succeeded. In this case, what I would need to do is click "resubmit" button in Run History, so that the whole workflow will run again, however, this means the 4 successful sends will be resent as well. In other words, the 4 webservices will receive duplicate data.

May I know if it's possible to resubmit the 1 failed sending only? If that's not supported by Logic Apps, do you have any idea of an work around?

Thanks a lot!

Naralee 

解决方案

You can use a retry policy as explain in the documentation which applies to intermittent failures, characterized as HTTP status codes 408, 429, and 5xx, in addition to any connectivity exceptions. The default is an exponential interval policy set to retry 4 times.


这篇关于是否可以重新提交Logic Apps的失败部分或任何替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆