gpt4 book ai didi

azure - 如何在电子邮件连接器中将逻辑应用程序参数值与表达式连接起来?

转载 作者:行者123 更新时间:2023-12-02 07:08:03 24 4
gpt4 key购买 nike

我正在使用 Office 365 发送电子邮件连接器向多个用户发送电子邮件。
电子邮件地址的值由参数和表达式之一确定,如下所示:连接器的 Json View

"Send_an_email_3": {
"inputs": {
"body": {
"Body": "Test",
"Cc": "@concat([parameters('email-address')],';',@{items('For_each_6')?['ChallengedBy']})",
"IsHtml": true,
"Subject": "Test" "To": "[parameters('dtf-email-address')]"
},

但是,CC 选项中的 @concat 语句不起作用。

"Cc": "@concat([parameters('email-address')],';',@{items('For_each_6')?['ChallengedBy']}

错误消息:

: "The template validation failed: 'The template action 'Send_an_email_3' at line '1' and column '130951' is not valid: \"The template language expression '[parameters('email-address')] ; @items('For_each_6')?['ChallengedBy'];' is not valid: the string character ';' at position '36' is not expected.\".'."

Parameter values is determined but expression is unchanged, it should evaluated as it is for subject line.

enter image description here

最佳答案

根据我的测试,你可以尝试使用下面的代码来测试。

“抄送”:“@{concat(parameters('电子邮件地址'),';',items('For_each_6')?['ChallengedBy'])}”

关于azure - 如何在电子邮件连接器中将逻辑应用程序参数值与表达式连接起来?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51768293/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com