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

Check Field Value Null or not in Condition

Hi,

 

I have a field in form and i want to execute the flow based upon the condition..i want to check whether the field value is null or not using expression..how to done it..

 

Thank You

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

You can do this using

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

in the Condition control. In this example Completed is the column in my SharePoint list. Flow checks if it is empty and if it it is it sends and email without the Completed date. If it isn't empty it formats the completed date into British dd/mm/yy format and then sends an email with the completed date in it.

iffieldempty.jpg

 

 

 

View solution in original post

1 REPLY 1
Super User
Super User

You can do this using

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

in the Condition control. In this example Completed is the column in my SharePoint list. Flow checks if it is empty and if it it is it sends and email without the Completed date. If it isn't empty it formats the completed date into British dd/mm/yy format and then sends an email with the completed date in it.

iffieldempty.jpg

 

 

 

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (12,524)