Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

Using Empty Expression with a Condition

I have a need to use the Empty expression to set a condition branch.  The problem is that the field I am checking to see if empty always returns as false (suggesting there is a value).  I see no value in the field and have no idea how to set this condition so that it will take the proper path.


Here is my empty expression



varBenefitsStartDate value is a MS Form date field.  You can clearly see that the field has no value both in the variable I've set for it, as well as the Get Details from the form submission:

Screenshot 2020-09-14 203624.pngScreenshot 2020-09-14 203726.png


The reason I need a condition is that the date field will sometimes be blank (intentionally).  I need to be able to have one path that formats the value when there is a date, and another path to set a variable string value to a value of my choosing when it's blank.  Problem is the condition results never change (always thinks the field is populated).


Here is a snapshot of the condition and preceding variables set if it helps:

Screenshot 2020-09-14 204232.png


What the heck am I missing?

Community Support
Community Support

You can try to use the condition with your dynamics value equal to null as below:


To check if the input dynamic value is empty or not


Hope it would help

Value isn't null either .. apparently.  I tried that already.  I worked around this by completely changing my process and using a calculation to get what I needed.  The way I was doing it had to many obstacles.

Helper III
Helper III

@robgar Here one simple solution which is definitely work.


What you need to do is after initialize the variable, you set the value of that variable with empty function.


 and then compare the variable equal to true.




If it will work , accept as solution so that will help other people in future.

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,017)