cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
landonjochim
Frequent Visitor

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

4 REPLIES 4
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

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (57,906)