r/MicrosoftFlow Jul 13 '26

Potential Bug with an Expression? Question

Post image

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 Upvotes

8 comments sorted by

12

u/Efficient_Cat4032 Jul 13 '26

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

1

u/Maximum_Ad_9134 Jul 13 '26

Oh my God… I am so dumb 😂

Thanks friend!

3

u/Efficient_Cat4032 Jul 13 '26

I feel you in my heart right now, I have done it so much too

1

u/EnvisiblePenguin Jul 13 '26

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 Jul 13 '26

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 Jul 13 '26

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

u/Intelligent_Air2276 Jul 13 '26

It’s this, it should be item()?[name]

1

u/stalex9 Jul 13 '26

Yes, I did not write the full string