cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AB4N
Helper I
Helper I

A single email to all users in multi-select person column, unless empty.

Hi all,

 

I'm trying to create a flow that will send one single email to all users in a multi-select person column on SharePoint Online. The flow should only do this if the column is not empty.

 

At the moment my flow will successfully send the email to all, however, if there isn't anyone selected in the column then the flow fails.

 

I've messed around with it so much now that I'm not sure any of it even works now! I've tried "null" in the condition 2 box but that gave the same failed response. Anyone have an any suggestions?

Annotation 2020-03-06 165211.png

5 REPLIES 5
abm
Super User
Super User

Hi @AB4N 

 

Do you want to check the multi select column SharePoint is null or not?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Hi, yes I think that is what’s required.

abm
Super User
Super User

Hi @AB4N 

 

You need to use the length. 

 

length(items('Apply_to_each')?['Courses']) > 0
 
image.png
 


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
abm
Super User
Super User

Hi @AB4N 

 

You can also use empty function

 

empty(items('Apply_to_each')?['Courses'])

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
abm
Super User
Super User

Hi @AB4N 

 

Do you need further help on this? If the suggested solution is working as expected then please mark it as solution accepted. This will help others in the community looking for solutions.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,859)