参数连续内联

问题描述

在我的Logic App中,我有2个参数username和tenant。我需要在中间用一个'@'来连接这2个。我尝试使用下面的尝试来连接它,但没有成功。

@{concat([parameters('username')],'@',[parameters('tenant')])}
@{concat([parameters('username')],''@'',[parameters('tenant')])}
@{concat(parameters('username'),parameters('tenant'))}

最后,我必须创建3个单独的变量来保存每个值并将其合并,然后才起作用。

@{concat(variables('username'),variables('at'),variables('tenant'))}

还有更好的方法吗?

这是应用程序

enter image description here

这是应用程序的参数,用户名密码是从params文件提取

enter image description here

这是运行时的错误

enter image description here

解决方法

根据评论中的讨论,当前只有一种解决方案使用variables来接受parameter的值。