Hi,
I have a flow that runs when a new response is submitted via a Form. But it's failing at the very first Apply to Each. Normally when I use this trigger I would use List of Responses in the Apply to Each box. But this time my only options are ID, Body and Data, none of which work?
Any ideas why this is different and how I can make it run?
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/resourceData']' is of type 'Object'. The result must be a valid array.
Solved! Go to Solution.
You don't need an Apply to each there. Just remove it and make the Get Response Details the next action. When the forms connector first shipped it returned responses from multiple forms in a collection. But the trigger now returns a single response. So you don't need the apply to each anymore.
You don't need an Apply to each there. Just remove it and make the Get Response Details the next action. When the forms connector first shipped it returned responses from multiple forms in a collection. But the trigger now returns a single response. So you don't need the apply to each anymore.
Thanks! It automatically put inside the box so I assumed it was necessary!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.
User | Count |
---|---|
26 | |
25 | |
22 | |
22 | |
11 |
User | Count |
---|---|
45 | |
33 | |
31 | |
30 | |
30 |