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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,058)