cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sbavugi1
New Member

Building a flow using trigger For a selected message

Hi,

I am building a Instant-from blank flow and using a teams trigger 'For a selected message' with my custom adaptive card. My flow just has two steps described below.

1. For a selected message

2. Post adaptive card in a chat or channel

 

I am collecting information from the form and sending it to post message step. But this seems to be not working. I am seeing below error
near run history when I open the flow.
Trigger errorTrigger error

 

 

When I click on fix triggers, it navigates to error details page which says below. error_flow1.jpg
 
 
 
 
 
 
 
 
 
 
 
 
 
Error is Action 'manual' failed.
I see this error only when I open the flow via teams power automate app. Web version is not showing any errors but the flow is not working. I have tested with different actions with same trigger but no luck. Can somebody help me here, please?
2 REPLIES 2
v-litu-msft
Community Support
Community Support

Hi @sbavugi1,

 

I confirmed my side but not find the same issue, you said the adaptive card is custom by yourself, I guess maybe there is some error with the adaptive card code, could you please try the following code?

{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.2",
    "body": [
        {
            "type": "TextBlock",
            "text": "Tell us about yourself",
            "weight": "Bolder",
            "size": "Medium"
        },
        {
            "type": "TextBlock",
            "text": "We just need a few more details to get you booked for the trip of a lifetime!",
            "isSubtle": true,
            "wrap": true
        },
        {
            "type": "TextBlock",
            "text": "Your name",
            "wrap": true
        },
        {
            "type": "Input.Text",
            "id": "myName",
            "placeholder": "Last, First",
            "spacing": "None"
        },
        {
            "type": "TextBlock",
            "text": "Your email",
            "wrap": true
        },
        {
            "type": "Input.Text",
            "id": "myEmail",
            "placeholder": "youremail@example.com",
            "style": "Email",
            "spacing": "None"
        },
        {
            "type": "TextBlock",
            "text": "Phone Number"
        },
        {
            "type": "Input.Text",
            "id": "myTel",
            "placeholder": "xxx.xxx.xxxx",
            "style": "Tel",
            "spacing": "None"
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Submit"
        }
    ]
}

Screenshot 2021-02-12 113727.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your response. I stopped using power automate app from teams and started using the flow from Microsoft Edge. It worked for two to three time and stopped working again. When I enter the details and click on submit, nothing happening. Even I cannot see my run in flow history. I have tested your adaptive card code and that worked. I have replaced it with my code and not working. Do you see any issues with my code which works for 2-3 times when I create a new flow and stops working?

{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.2",
    "body": [
        {
            "type": "ColumnSet",
            "columns": [
                {
                    "type": "Column",
                    "width": 2,
                    "items": [
                        {
                            "type": "TextBlock",
                            "text": "Enter Requested Details",
                            "weight": "Bolder",
                            "size": "Medium"
                        },
                        {
                            "type": "TextBlock",
                            "text": "Only can pass 2 arguments -->  'target host' 'maintence duration(in minutes)'. Duration is optional and default is one hour)",
                            "isSubtle": true,
                            "wrap": true
                        },
                        {
                            "type": "TextBlock",
                            "text": "Machine Name",
                            "wrap": true
                        },
                        {
                            "type": "Input.Text",
                            "id": "macName",
                            "placeholder": "Name"
                        },
                        {
                            "type": "TextBlock",
                            "text": "Duration (in minutes)"
                        }
                    ]
                },
                {
                    "type": "Column",
                    "width": 1,
                    "items": [
                        {
                            "type": "Image",
                            "url": "https://assets.zabbix.com/dist/images/2f61890bc012dd9b8423a2f6c952be5e.png",
                            "size": "auto"
                        }
                    ]
                }
            ]
        },
        {
            "placeholder": "in minutes",
            "type": "Input.Number",
            "id": "duration",
            "value": 60
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Submit"
        }
    ]
}

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,410)