Skip to main content

Notifications

Community site session details

Community site session details

Session Id : YuH2G2hVXac0zcNs1MSLpX
Power Automate - Building Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 23 Nov 2020 23:07:53 by 256

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

 

  • NJMUser Profile Picture
    25 on 09 Apr 2024 at 21:12:31
    Re: Trigger Conditions to start a flow when a 'Person or Group' field CONTAINS a name

    Hi - can you help me to revise this for a multiple person column, where the result is an array? Thank you 🙂 

  • Community Power Platform Member Profile Picture
    on 05 Apr 2023 at 21:34:54
    Re: Trigger Conditions to start a flow when a 'Person or Group' field CONTAINS a name
     
    Hi @PrasadAthalye - I am working on a very similar Automation - if you could help me that would be amazing.....
     
    I want an email to be sent to the "Additional tester" (name of the List item) when they are assigned to a List test case.
    However, when I use the following trigger 
    @not(empty(triggerBody()?['Additionaltesters']))
     
    it is notifying the Additional Tester every single time any field within the test case is modified, not only the Additional Tester field.
     
     I only want an email notification to be send IF the Additional testers field is populated.
     Am I using the wrong trigger? Here is my Automation path: 
    When an item or a file is modified (this is where the trigger is) > Get changes for an item or a file (properties only) > Condition
    : Has column changed: Additional testers
     
     

     

  • candree Profile Picture
    4 on 29 Jul 2021 at 17:55:45
    Re: Trigger Conditions to start a flow when a 'Person or Group' field CONTAINS a name

    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.

  • PrasadAthalye Profile Picture
    4,795 on 26 Nov 2020 at 18:30:11
    Re: Trigger Conditions to start a flow when a 'Person or Group' field CONTAINS a name

    Yes. Thats the right way. Glad it helped.

  • Verified answer
    landonjochim Profile Picture
    256 on 24 Nov 2020 at 15:39:09
    Re: Trigger Conditions to start a flow when a 'Person or Group' field CONTAINS a name

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

    Thanks for the assist @PrasadAthalye 

  • landonjochim Profile Picture
    256 on 24 Nov 2020 at 15:32:12
    Re: Trigger Conditions to start a flow when a 'Person or Group' field CONTAINS a name

    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.

  • PrasadAthalye Profile Picture
    4,795 on 23 Nov 2020 at 23:28:37
    Re: Trigger Conditions to start a flow when a 'Person or Group' field CONTAINS a name

    @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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,786 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard
Loading started