【发布时间】:2016-10-11 02:29:59
【问题描述】:
我正在使用 Azure 逻辑应用的最新预览版,我的一个主题检查消息标题中的字符串是否与 SOME_STRING 匹配,如下面的代码所示
"authenticatedresponse": {
"conditions": [
{
"expression": "@equals(coalesce(trigger().outputs?.headers?['CHECK_THIS_STRING'], ''), 'SOME_STRING')"
}
],
"inputs": {
"statusCode": 202
},
"type": "Response"
}
主题应该检查条件是否为真,然后将消息传递到服务总线。它适用于 99% 的情况,但有时我会收到超时异常消息 {"code":"ActionResponseTimedOut","message":"The execution of template action 'authenticatedresponse' is failed: the client application timed out waiting for a response from service. This means that workflow took longer to respond than the alloted timeout value. The connection maintained between the client application and service will be closed and client application will get an HTTP status code 504 Gateway Timeout."}
正如您所见,这是一个非常简单的条件,因此执行起来并不需要太多时间。有人知道问题可能是什么吗?
【问题讨论】: