Thanks, here's the code.
Version 1.5.
----------------------
{
"type": "AdaptiveCard",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "@{outputs('ユーザーの_@mention_トークンを取得する')?['body/atMention']}",
"wrap": true
},
{
"type": "TextBlock",
"text": "要求者:@{outputs('ユーザー_プロフィールの取得_(V2)')?['body/displayName']}",
"wrap": true
},
{
"type": "TextBlock",
"text": "車台番号:@{outputs('応答の詳細を取得する')?['body/r6d763082121346a39dbdf7a6d35fcab1']}",
"wrap": true,
"size": "Large"
},
@{outputs('結合-画像リンク')},
{
"type": "TextBlock",
"text": "[リストへのリンク](@{outputs('項目の作成')?['body/{Link}']})",
"wrap": true,
"size": "Large",
"spacing": "ExtraLarge"
},
],
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json"
}
----------------------
Array variables are read in this section.
The array is only added if there is an attached image,
The contents are as follows.
----------------------
{
"type": "TextBlock",
"text": "[リストへのリンク](@{outputs('項目の作成')?['body/{Link}']})",
"wrap": true,
"size": "Large",
"spacing": "ExtraLarge"
}
----------------------
If the same code is entered directly as above, it works well.
However, it does not work when assigned as an array variable.