cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Condition Function - Blank field value

Blank.jpg

 

 

 

What is the proper way to use the condition function if I want to look for a field that has a blank value?

 

 

4 REPLIES 4
Community Support Team
Community Support Team

Re: Condition Function - Blank field value

Hi Lp939,

 

We can use Workflow Definition Language to configure the Condition, please check this documentation for a reference:
https://docs.microsoft.com/en-us/rest/api/logic/definition-language

 

About how to check if there is a blank value in the field, please consider to use Empty function. Empty function returns true if object, array, or string is empty.

 

I create a simple flow to send email when a field has a blank value.


In the Condition, I configure the Empty function as @empty(triggerBody()?['Model1']?['Value']).


Note:['Model1']?['Value'] is value for the column “Model1 Value”, I get it from the dynamic content.


I run the flow for several times, and it works as expected on my side.

 1.png

 

Please try it on your side. Please feel free reply if you need more help.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: Condition Function - Blank field value

Thank you, but I received this error message.

errorFlow.jpg

Any idea what I am doing wrong?

Community Support Team
Community Support Team

Re: Condition Function - Blank field value

Hi Lp939,

 

I guess that you are trying to return to the Basic mode. This error is just saying that you cannot return to Basic mode from Advanced mode.

 

Please add the following action and save the flow, then run the flow, I guess it will work as expected.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Arnd
Level: Powered On

Re: Condition Function - Blank field value

Advanced mode is sadly removed. 

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (5,204)