I’m experiencing several challenges with Adaptive Cards within my Logic App and am reaching out for some insights or alternatives:
Version 1.4 Challenges:
- Using Action.Execute to submit inputs results in errors:
- Web App: "An error occurred, please try again."
- Desktop App: "Something went wrong, please try again."
- Despite working well in designer mode, it throws errors in real run scenarios.
- Downgrading the version is suggested as a workaround online.
Issues with Versions 1.3 & 1.0:
- These lack Action.Execute, necessitating Action.Http, causing double triggers and potential extra costs.
- Cards are invisible in the Desktop app but work fine in the Web app.
Goals:
- Develop a card that works universally on Outlook Web and Desktop apps.
- Efficiently use Action.Execute to avoid redundant triggers.
Any input is greatly appreciated.
Thank you!
--------------------------------------------------------------------------------------------------------------------
Card JSON:
This card JSON is just to show the structure and has both of the Action.Execute and Action.Http buttons.
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"actions": [
{
"body": "{\n\"ChoiceSetFor1\":\"{{Q1.value}}\", \"ChoiceSetFor2\":\"{{Q2.value}}\",\n \"ChoiceSetFor3\":\"{{Q3.value}}\",\n \"ChoiceSetFor4\":\"{{Q4.value}}\",\n \"ChoiceSetFor5\":\"{{Q5.value}}\",\n \"ChoiceSetFor6\":\"{{Q6.value}}\",\n \"ChoiceSetFor7\":\"{{Q7.value}}\",\n \"ChoiceSetFor8\":\"{{Q8.value}}\"\n}",
"headers": [
{
"name": "Authorization",
"value": "PLACEHOLDER"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"id": "submit",
"method": "POST",
"style": "positive",
"title": "PLACEHOLDER",
"type": "Action.Http",
"url": "PLACEHOLDER"
},
{
"associatedInputs": "auto",
"data": {
"ChoiceSetFor1": "{{Q2.value}}",
"ChoiceSetFor2": "{{Q1.value}}",
"ChoiceSetFor3": "{{Q5.value}}",
"ChoiceSetFor4": "{{Q3.value}}",
"ChoiceSetFor5": "{{Q4.value}}",
"ChoiceSetFor6": "{{Q6.value}}",
"ChoiceSetFor7": "{{Q8.value}}",
"ChoiceSetFor8": "{{Q7.value}}"
},
"id": "execute",
"style": "positive",
"title": "PLACEHOLDER",
"type": "Action.Execute",
"verb": "PLACEHOLDER"
}
],
"body": [
{
"size": "Medium",
"text": "PLACEHOLDER",
"type": "TextBlock",
"weight": "Bolder"
},
{
"separator": true,
"text": "PLACEHOLDER",
"type": "TextBlock",
"wrap": true
},
{
"choices": [
{"title": "PLACEHOLDER", "value": "PLACEHOLDER"},
{"title": "PLACEHOLDER", "value": "PLACEHOLDER"},
{"title": "PLACEHOLDER", "value": "PLACEHOLDER"},
{"title": "PLACEHOLDER", "value": "PLACEHOLDER"}
],
"errorMessage": "PLACEHOLDER",
"id": "Q1",
"isRequired": true,
"label": "PLACEHOLDER",
"placeholder": "PLACEHOLDER",
"separator": true,
"type": "Input.ChoiceSet"
},
// Similar changes for Q2 - Q8
],
"originator": "PLACEHOLDER",
"type": "AdaptiveCard",
"version": "1.4"
}