cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Raeville
Level: Powered On

How do i setup a check if sharepoint field is blank condition?

Hi,

 

How do i kick off a flow when a sharepoint field A is no longer empty? Will it need to be in a separate flow or can i build this in my existing flow? 

 

If

Field A is empty > no action

else

Field A has value > send a notification.

 

Isblank.png

 

Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How do i setup a check if sharepoint field is blank condition?

Hi @Raeville,

 

Do you want to check if the field A of your SharePoint list is empty within your flow?

 

I have made a test on my side and please take a try with the following workaround:2.JPG

Within Condition box, click "Edit in advanced mode", type the following formula:

@empty(triggerBody()?['Field_x0020_A'])

On your side, you should type the following formula within Condition box:

@empty(triggerBody()?['SharePointColumn'])

Note: The Field A column is a Single line of text type column in my SharePoint list. In addition, if there is a space within your SharePoint column (Field A), please replace the space with '_x0020_' within above formula.

 

The flow works successfully as below:3.JPG

 

In addition, you could also take a try with the following workaround:4.JPG

Within Condition box, left input box set to Field A dynamic content of the trigger, right input box set to null expression. Within middle drop down, choose is equal to.

 

Note: Type the Null expression within right input box of Condition box, please take following steps:

  1. Select right input box, click "Expression" tab in right panel.
  2. Type null within formula box.
  3. Click "OK" button.

The flow works successfully as below:3.JPG

 

 

 

More details about how to check if a field of SharePoint list is empty, please check the following article:

https://powerusers.microsoft.com/t5/Microsoft-Flow-Knowledge-Base/How-to-check-if-a-field-is-blank/t...

 

Best regards,

Kris

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: How do i setup a check if sharepoint field is blank condition?

Hi @Raeville,

 

Do you want to check if the field A of your SharePoint list is empty within your flow?

 

I have made a test on my side and please take a try with the following workaround:2.JPG

Within Condition box, click "Edit in advanced mode", type the following formula:

@empty(triggerBody()?['Field_x0020_A'])

On your side, you should type the following formula within Condition box:

@empty(triggerBody()?['SharePointColumn'])

Note: The Field A column is a Single line of text type column in my SharePoint list. In addition, if there is a space within your SharePoint column (Field A), please replace the space with '_x0020_' within above formula.

 

The flow works successfully as below:3.JPG

 

In addition, you could also take a try with the following workaround:4.JPG

Within Condition box, left input box set to Field A dynamic content of the trigger, right input box set to null expression. Within middle drop down, choose is equal to.

 

Note: Type the Null expression within right input box of Condition box, please take following steps:

  1. Select right input box, click "Expression" tab in right panel.
  2. Type null within formula box.
  3. Click "OK" button.

The flow works successfully as below:3.JPG

 

 

 

More details about how to check if a field of SharePoint list is empty, please check the following article:

https://powerusers.microsoft.com/t5/Microsoft-Flow-Knowledge-Base/How-to-check-if-a-field-is-blank/t...

 

Best regards,

Kris

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Super User
Super User

Re: How do i setup a check if sharepoint field is blank condition?

This was really helpful.  I need to check based and 'or'  as I have three columns to check.  At the moment I use your solution by having three condition steps.  Is it possible to do it with one?  Like

 

@empty(triggerBody()?['SharePointColumn']) or @empty(triggerBody()?['SharePointColumn']) or @empty(triggerBody()?['SharePointColumn'])

Danven
Level: Powered On

Re: How do i setup a check if sharepoint field is blank condition?

Did you ever find out how to check across multiple columns? I have a list with 20 or more of training dates, I'd love to check across all of them with one generic formula.

 

Thanks for the help

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

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