Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Approval Flows: How to handle an empty People field

Posted on 11 Dec 2024 20:18:56 by 2
I am building an approval flow where it will need to pass through up to 6 departmental approvers.  I've added a People picker column type in the list to specify who each department approver is.  However, there will be situations where a department is not required to approve and therefore, their Start and Wait for approval step needs to be skipped.
I'm not sure how to build the condition step to recognize when the Approver column is empty.  Here's what I've tried thus far:
Empty function:  
fx empty(triggerBody()?['Approvers']) is equal to fx true
Using Null:
Using String:  fx string('')
Leaving the value field blank:
Are there any other suggestions I can try?
 
  • CU11121951-0 Profile Picture
    CU11121951-0 2 on 12 Dec 2024 at 13:15:29
    Approval Flows: How to handle an empty People field
    @SpongYe  I tried this:
    Is there something I've done wrong to build the condition that's causing it not work?
  • Suggested answer
    SpongYe Profile Picture
    SpongYe 5,334 on 11 Dec 2024 at 22:20:47
    Approval Flows: How to handle an empty People field
    You can use the NULL as a expression to check if a value is empty for example:
     
     
    Hope this helps!

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard