Hi,
I have a table from an adaptive card, and I can't seem to concatenate this table to a string so I can send the variable to PA.
I tried using the the JSON() formula, but it does not support the table data type.
I have tried to concatenate the table to a string, but using Concatenate(Topic.selectedOptionsTable, "") returns an empty string, despite the table having values in it.
The adaptive card has the following JSON formula:
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Input.ChoiceSet",
"id": "selectedOptionsTable",
"isMultiSelect": true,
"choices": [
{"title": "Fire Protection", "value": "Fire"},
{"title": "Drought Protection", "value": "Drought"},
{"title": "Flood Protection", "value": "Flood"},
{"title": "Extreme Temperature Protection", "value": "ExTemp"},
{"title": "Crop Disease Protection", "value": "Crop Disease"},
{"title": "Crop Pest Protection", "value": "Crop Pest"}
],
"style": "compact"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"data": {
"cardSubmit": true
}
}
]
}
If I send the table variable as a message I can see it is a column table, in square brackets, with the values selected. For example: [“Fire”,“Drought”,“Flood”,“ExTemp”]
Am I concatenating this wrong? How can table variables be used?
Thanks