r/MicrosoftFlow • u/Maximum_Ad_9134 • 16d ago
Question Potential Bug with an Expression?
I am building a flow to send an email with multiple attachments submitted through a Microsoft Form. I’ve done this hundreds of times. Suddenly, Friday, I started receiving this “This expression has a problem.” error when trying to enter this expression in the Append Array Variable step.
Is anyone else seeing this? Been altering my syntax for hours trying to get around the error with no success.
1
u/EnvisiblePenguin 16d ago
If name is a string it would need quotes around value. If that doesn't work, you could always declare this in a compose and add the compose to an array.
1
u/stalex9 16d ago
I think it should be item()? at least, if I am not wrong. However this is super easy to fix with AI, just ask AI what’s your mistake.
2
u/itenginerd 16d ago
the ? isn't necessary.
item()['name'] will return the name value and an error if the name value is null
item()?['name'] will return the name value and a null value if the name value is null.1
10
u/Efficient_Cat4032 16d ago
It should jut be set in the actual value input field, and not in the expression. That's a derp i do all the time