我正在使用 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."}
正如你所看到的,这是一个非常简单的条件,所以它真的不应该花费很多时间来执行。有谁知道问题可能是什么?