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
v-yamao-msft
Community Support
Community Support

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

Thank you, but I received this error message.

errorFlow.jpg

Any idea what I am doing wrong?

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.

Advanced mode is sadly removed. 

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Users online (2,044)