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:
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:
What the heck am I missing?
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.
@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.
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!