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

Condition, when field isn't empty

Hey,

 

 I want to create a flow, which is only executed if there is a value in a certain column.

 

assistecflow.png

1 ACCEPTED SOLUTION

Accepted Solutions
Muni1996
Level: Powered On

Re: Condition, when field isn't empty

The Grouping of the condition was the mistake! But thank you

View solution in original post

10 REPLIES 10
Dual Super User
Dual Super User

Re: Condition, when field isn't empty

Yes that should work.  Are you having a particular issue with the flow you presented?  YOu might also want to take a look at htis video.  Trigger conditions are now available that can limit when a Flow is actually triggered.

https://www.youtube.com/watch?v=j-gP-E6CCE4



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Muni1996
Level: Powered On

Re: Condition, when field isn't empty

If I run the flow and the column is empty, the flow is still sucessful.
 
Dual Super User
Dual Super User

Re: Condition, when field isn't empty

What type of field are you testing? Try changing the NULL to an "" to test for an empty string rather than a null.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Muni1996
Level: Powered On

Re: Condition, when field isn't empty

An element from the sharepoint list. If the element is not 0 then the flow should run sucessfully. "" doesn't work also

Dual Super User
Dual Super User

Re: Condition, when field isn't empty

Hi @Muni1996 

 

Try this as trigger condition

@not(equals(triggerBody()?['RunFlow'],null))

 

in my case column RunFlow is a single line of text field 

This expression will trigger Flow only when RunFlow column has a value

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Muni1996
Level: Powered On

Re: Condition, when field isn't empty

Can you show me a screenshot? That would be great

Dual Super User
Dual Super User

Re: Condition, when field isn't empty

Yes, but what data type is the column in the SharePoint list.  Some of the column types will never be null.  For example, a string will normally be an empty string and an integer will be zero.  If you test those for null it will fail



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Dual Super User
Dual Super User

Re: Condition, when field isn't empty

Hi @Muni1996 

 

Capture.PNG

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Muni1996
Level: Powered On

Re: Condition, when field isn't empty

The Grouping of the condition was the mistake! But thank you

View solution in original post

Community Support Team
Community Support Team

Re: Condition, when field isn't empty

Hi @Muni1996 ,

 

Have your problem be solved?  If yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best regards,
Alice

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

Helpful resources

Announcements
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!

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 (5,220)