I'm designing a flow to send an actionable message. I was wondering if Adaptive Cards Templating feature can be used in actionable messages. I need to put a conditional logic into that card and that would be an ideal approach to do it, so the logic remains with the card, and not with the flow.
To give more context to the question. The following JSON snippet works in Adaptive Cards designer, but doesn't work in an Actionable Message designer and doesn't actually work in an email sent from it as well. Why is it so?
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"$data": {
"test": "some content"
},
"body": [
{
"type": "TextBlock",
"id": "1a5552ea-32bf-52d3-98ba-8c0867dc86fe",
"text": "${test}",
"wrap": true
}
],
"padding": "None"
}