cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Warning when date approaches, skipping empty cells

Hi,

 

I have a flow working based on sharepoint list that warns me when a date approuches. It works fine but it fails when a cell is empty. Any idea how I can skip the empty cells? 

 

@lessOrEquals(items('Apply_to_each')?['Contract_x0020_end_x0020_date'], adddays(utcnow(), 30))

 

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Warning when date approaches, skipping empty cells

Hi @Anonymous,

 

Do you mean skipping the item with a null value in the date field?

You could try to use Filter array to filter the date field containing the value of the item, and then use Filter array- output value to configure the following steps, which is to replace the output of the original Get items with the output of the Filter array.

Image reference:

58.PNG

Take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
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
Highlighted
Resident Rockstar
Resident Rockstar

Re: Warning when date approaches, skipping empty cells

I would tend to use something like this: 

 

@not(empty(  ** Nest in here **  ))

You'll need to use it relevant to your Flow but I have have succeeded with this as it basically means, Return true if not empty.


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Highlighted
Community Support
Community Support

Re: Warning when date approaches, skipping empty cells

Hi @Anonymous,

 

Do you mean skipping the item with a null value in the date field?

You could try to use Filter array to filter the date field containing the value of the item, and then use Filter array- output value to configure the following steps, which is to replace the output of the original Get items with the output of the Filter array.

Image reference:

58.PNG

Take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
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

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (4,754)