在等待答案的情况下发布自适应卡时 Power Automate 中可能存在的错误

Possible bug in Power Automate when publishing an Adaptive Card with wait for answer

我在 Power Automate 中遇到了一个相当奇怪的问题,我认为这是一个错误。 我想做什么:

我等待答案的自适应卡片如下所示:

{
"type": "AdaptiveCard",
"body": [
                    {
                        "type": "TextBlock",
                        "text": "Test",
                        "color": "warning",
                        "size": "Medium",
                        "weight": "Bolder",
                        "wrap": "true"
                    }
                ]
}

然后我可以在“动态内容”弹出窗口中看到“自适应卡片”的可用字段(例如“正文”)。

到目前为止,一切都很好。但是,一旦我在自适应卡中使用变量,就会发生非常奇怪的事情。如果我将变量名放在自适应卡内容中,我会在“动态内容”弹出窗口中丢失自适应卡中的所有选项。

Adaptive Card

Without using a variable within the Adaptive Card content

when using a variable within the Adaptive Card content

非常欢迎任何建议!

肯定是代码缺陷。 (所以,我联系了微软,他们正在整理)