cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

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
Super User
Super User

Re: Where is "Apply to Each" ?

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
Super User
Super User

Re: Where is "Apply to Each" ?

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

Super User
Super User

Re: Where is "Apply to Each" ?

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

Super User
Super User

Re: Where is "Apply to Each" ?

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

Super User
Super User

Re: Where is "Apply to Each" ?

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 315 members 4,782 guests
Please welcome our newest community members: