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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,909)