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

Error updating google doc step in flow

Hi, I'm getting the error below when i try to run the flow below. 

 

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression
'@body('Check_for_when_Cohort_=_0_should_be_Cohort_=_1')?['resultsets']?['Table1']' is of type 'Null'.
The result must be a valid array.

 

bbit_0-1596679394286.png

Its mainly happening in the cohort row in the first "apply to each" step.

 

bbit_1-1596679546657.png

Please help

1 REPLY 1
Highlighted
Resolver II
Resolver II

Re: Error updating google doc step in flow

Hello @bbit ,

 

By looking from screen shots , it seems that value from "Resultsets Table" (Before Apply to each) is returning you a null value . When you use "Apply to Each" data should contain Array values and not null. Check step before Apply to each and see if there are values coming into it.

 

image.png

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (3,969)