
Announcements
Running into an interesting issue working with the response data from "Post an Adaptive Card to a Teams channel and wait for a response." Like others (How-to-reference-Post-an-Adaptive-Card-to-a-Teams-channel-and-wait), I was struggling to find the response from this step in Dynamic content.
From that post, as well as a video I found, I ended up referencing the response using an Expression, which worked great for a little while. Power Automate then seemed to recognize this content and update it, which broke my flow. Here's what I mean:
Here is my Adaptive Card Post (which waits for a response):
Later in my flow, I'm referencing the response from this step using Expressions while responding to an Http Request (which triggers the flow initially):
The three items above are:
I save the flow, test it, and it works great. It may even work for a number of tests. However, when testing it a few hours later, it was broken. I checked out the error, which read:
Unable to process template language expressions in action 'Response' inputs at line '1' and column '14713': 'The template language expression 'body('AdaptiveCardPost')['body']['submitActionId']' cannot be evaluated because property 'body' doesn't exist, available properties are 'responseTime, responder, submitActionId, data'.
I went back to look at this step and it had changed to the following:
The three items automatically changed to:
It seems like it's almost recognizing that it's Dynamic content from the Teams post, but it's not updating it correctly. Since it's still not fully recognized as Dynamic content, I can't edit it, either. I can change it back to what I originally had (using Expressions), but I've gone through this cycle three times now, as it continues to change after a period of time...
Any thoughts?
I ended up referencing this data differently in my Expressions and it seems to be stable as of now. I went with the following, which is closer to what they were automatically being updated to: