cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Getting 'Expression Evaluation Failed' when working with Forms as trigger every time

Hi Everyone,

 

I'm building a approval flow for sharing documents with a specific user. The trigger is set to be every new response in a specified form.

 

When using the 'get list of response IDs' in the apply for each field, I always get this error:

 

ExpressionEvaluationFailed. The execution of template action 'Auf_alle_anwenden' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/value']' is of type 'Null'. The result must be a valid array.

 

What am I doing wrong? I'm not very familiar with flow, we just started playing and testing with it. I did the same as in the template library, getting response IDs first as apply for each and then go on from there. Until today it worked fine.

 

Thank you,

NiclasN

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Getting 'Expression Evaluation Failed' when working with Forms as trigger every time

 

Hi @NiclasN ,

 

Please try this configuration:

143.PNG

You could remove Apply to each and try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Impactful Individual
Impactful Individual

Re: Getting 'Expression Evaluation Failed' when working with Forms as trigger every time

Hi @NiclasN,

 

it looks like wrong syntax.

Try to use triggerOutputs()?['body']?['value'] 

Highlighted
Community Support
Community Support

Re: Getting 'Expression Evaluation Failed' when working with Forms as trigger every time

 

Hi @NiclasN ,

 

Please try this configuration:

143.PNG

You could remove Apply to each and try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
New Member

Re: Getting 'Expression Evaluation Failed' when working with Forms as trigger every time

Hi @v-bacao-msft,

 

good idea, I'll try this configuration for the next flow. I just tried recreating the workflow from scratch and for some reason it works until now.

 

1.JPG

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (7,861)