Forum Discussion
AshuJadhav
Nov 16, 2024Copper Contributor
What if post adaptive card and wait for a response timeout
Hi Team,
Scenario: Post the adaptive card to the team chat. If the user doesn't respond after 2 hours, the adaptive card should be updated as "Expired"with a new design on the same conversation.
In an attempt to comply with this, I used a "Post adaptive card in char and wait for response."
Challenges: What would happen if I posted an adaptable card and waited for a response timeout? I wouldn't get a response. An error is being thrown.
Expectations include waiting for a response after receiving an adapted card. In any case, your card has already produced a message ID and posted.
This action should to return a Message Id in the event that a timeout occurs.
Would you kindly respond if you have discovered a solution?
10 Replies
Sort By
- SmallTalk70Copper Contributor
We have the same issue. I can't wait for a solution. Any news?
- SmallTalk70Copper Contributor
We oped a case microsoft and need votes now:
Post adaptive card and wait for a response not returning Message ID if it fails with Action Time out · Community
- cleung625Copper Contributor
Hi Sayali-MSFT ,
I have the exact same issue. It's pretty frustrating that the MessageID disappears upon timeout because we want to update the card should it exceed a certain time period. Is there a solution for this issue?
Thanks for your help in advance
- AdaptiveCardNewbieCopper Contributor
I would like the same.
Happens the an adaptive card waiting for a response and that then times out, does not produce the message ID and so I am not able to update it.
Is there a solution for this?
- Sayali-MSFT
Microsoft
Hello @AdaptiveCardNewbie,
Here you will get the message id-
- Sayali-MSFT
Microsoft
Hello @AshuJadhav,
We have tested the above scenario, and it is working well on our end.
Could you kindly refer to the document below for further instructions?
Create flows that post adaptive cards to Microsoft Teams - Power Automate | Microsoft Learn
- AdaptiveCardNewbieCopper Contributor
Hello,
To update an adaptive card we need the message ID, which is not listed in your post.
Or is there something else?
- Sayali-MSFT
Microsoft
Hello @AshuJadhav, could you please confirm if your issue has resolved with above suggestion or still looking for any help?
- Sayali-MSFT
Microsoft
Hello @AshuJadhav,
Thank you for your inquiry about your Teams app development issue!
We are checking the issue. We will get back to you shortly.
Meanwhile, could you please refer the document to create the flow-
Create flows that post adaptive cards to Microsoft Teams - Power Automate | Microsoft Learn- sdeep789Copper Contributor
Has there been any progress on this issue? I am experiencing the same as OP, if the adaptive card times out there is no way to update a card with this info as the messageId isn't available.