cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
landonjochim
Resolver I
Resolver I

Trigger Conditions to start a flow when a 'Person or Group' field CONTAINS a name

Hello,

 

I want to trigger my flow using Trigger Conditions. I want the flow to only run when my custom Person column is filled out and contains information.

 

The flow is looking at a SharePoint list library. My custom column is a "Person or Group" column named: "AssignedTo"

 

When items are created in this list, the Assigned To column is <blank>. After the Assigned To column is filled out and saved, I want the flow to run.

 

I have tried many things, looking at length(), IsBlank(), equals(). But have yet to find anything that works. 

 

Remember I want to use the built in Trigger Conditions.

 

Thanks for any help!

landonjochim_0-1606172712620.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

I added the @not in the beginning. This expression worked for what I need:
@not(empty(triggerBody()?['AssignedTo'])) 

Thanks for the assist @PrasadAthalye 

View solution in original post

5 REPLIES 5
PrasadAthalye
Super User
Super User

@landonjochim Please try following expression.. Owner is my people picker field...

 

@empty(triggerBody()?['Owner'])

 

Like and Mark this as answer if it helps to resolve you issue.

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Right. So that expression works if I want the Flow to be trigger when the people picker is empty. But I want to trigger the flow when the people picker is not empty. The people picker must be filled in before flow is triggered.

I added the @not in the beginning. This expression worked for what I need:
@not(empty(triggerBody()?['AssignedTo'])) 

Thanks for the assist @PrasadAthalye 

View solution in original post

PrasadAthalye
Super User
Super User

Yes. Thats the right way. Glad it helped.

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

I'm attempting something similar but need assistance. Like you, the "Assigned To" value is initially blank and later gets populated. I want it to send the email notification to the "Assigned To" person the FIRST time they are assigned.

 

However, IF the "Assigned To" person later changes....then I also need an email sent to the NEW "Assigned To" person.  

 

Any guidance would be appreciated.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Top Solution Authors
Users online (1,552)