cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

2 REPLIES 2
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

leyburn19
Level 10

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'])

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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!

Top Kudoed Authors (Last 30 Days)
Users online (4,850)