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
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,298)