cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

Where is "Apply to Each" ?

Hello, this is driving me nuts!

I can successfully Get a (SINGLE) Row from an Excel Online table, do some AD lookups, and Update a (SINGLE) Row in the same Excel Online Table. 

But where is "Apply to Each"! Excel Online does not have Get Rows, only Get a Row.

Please advise, thank you.

flowAd.png

1 ACCEPTED SOLUTION

Accepted Solutions

Ok, well, the indicator that a user is not found in Office365Users is an empty Body [] array. To test whether an array is empty or not, see this other post.

View solution in original post

4 REPLIES 4
ericonline
Community Champion
Community Champion

Ok. I found Apply to Each. You have to search for it now, its not part of "+New Step" any longer. (may want to update your docs here Flow Team). 

 

But now I'm being asked for "Output from the previous step". There is not output form a Flow button push. 


Any ideas?

flowAd2.png

OK! Figuring this out on my own (as I should be!)

  • Added a variable called "counter"
  • Increment "counter" at the end of each cycle
  • Do Until "counter" = 553 (number of records in the list)

Questions:

  • Instead of hardcoding the Do Until number (553), how can I make it dynamic?
  • What does "PT1H" refer to in Do Until Timeout?

 

flowAd3.png

Ran into another problem. What happens when the email address i'm looking up using Office365Users is NOT in AD any longer? I can't seem to find an indicator.

I tried:

  • AccountEnabled is equal to false
  • AccountEnalbed is equal to "false"
  • AccountEnabled is eqal to empty()
  • Email (Excel) is not equal to Mail(O365)

Any ideas?

flowAd4.png

Ok, well, the indicator that a user is not found in Office365Users is an empty Body [] array. To test whether an array is empty or not, see this other post.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,164)