Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Authoring] Adaptive cards not taking any action on Action.Submit and no input is passed on to the Power Automate flow after clicking the button #8918

Open
sgowri3 opened this issue May 22, 2024 · 0 comments

Comments

@sgowri3
Copy link

sgowri3 commented May 22, 2024

Target Application

Microsoft Teams

Application Operating System

Windows

Schema Version

1.4

Problem Description

Adaptive cards not taking any action on Action.Submit and no input is passed on to the Power Automate flow after clicking the button.
image
Upon clicking either of the buttons, the following message is posted and no action is taken on the clicked buttons.

image
The above image is where the flow is waiting for the input and no input is returned even after clicking the buttons.

Expected Outcome

The buttons should be actionable and should execute the intended action.

Actual Outcome

Clicking on the button has no action.

Card JSON

{
  "type": "AdaptiveCard",
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.3",
  "body": [
    {
      "type": "Input.Text",
      "id": "name",
      "label": "Please enter your name:",
      "isRequired": true,
      "errorMessage": "Name is required"
    }
  ],
  "actions": [
    {
      "type": "Action.Submit",
      "title": "Cancel",
      "associatedInputs": "none"
    },
    {
      "type": "Action.Submit",
      "title": "Submit"
    }
  ]
}

Repro Steps

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant