Afternoon,
I've had a flow which has worked previously but for some reason is now returning an error message:
"Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'contains' expects its first argument 'collection' to be a dictionary (object), an array or a string. The provided value is of type 'Null'.'."
The flow posts and adaptive card in a Teams chat, collects the responses and then I use condition to decide on the best course of action depending on the responses. It's previously worked but whatever reason the condition part is now not working.
I'd appreciate any help! Thank you
Spoke to Microsoft support, the issue is due to posting as the Power Virtual Agent which is a preview feature. Posting as Flow Bot works. So I'll await the general availability of the feature before using in production!
I think it's definitely an adaptive card issue - no outputs are being returned now. Previously I was able to see the JSON outputs:
But now, it states click to download and upon downloading I get what looks like an error message:
Error message:
I'm at a bit of a loss, I haven't changed the adaptive card so I can't understand why it's now not returning any outputs. Has anyone experienced this before and could help please?
I've been testing and tweaking it all afternoon/evening - it looks like the responses from the adaptive card aren't being collected, there's no outputs to pass to the condition. I'm just struggling to understand why it's failing now when it was working a week ago. Does anyone please have anything I can try to fix this?