I有一个逻辑应用程序表达式,可以正确评估条件,但输出True而不是True.
。 随后的后后,HTTP操作失败了,因为包含此值的JSON有效载荷无法解析True,需要True.。
键 - 值对包含表达式:
"apiTicket": @{equals(body('Get_Ticket_Details')?['takenby'], 'Integration Agent')}
“ apiticket”:true
eRror:
{
"error": {
"code": "InvalidRequestContent",
"message": "The request content is not valid and could not be deserialized: 'Unexpected character encountered while parsing value: T. Path 'params.apiTicket', line 15, position 17.'."
}
}
true或
false,而不是true或false https://learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-refertions-reference-quequals
我了解如何解决此错误,但是有人知道为什么此功能会这样起作用吗?
logogic应用程序
equals()
,我手动以Apiticket的方式手动采取了行动。您可以使用它的动态值:将其更改为:
tolower()
输出: