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

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
Resident Rockstar
Resident Rockstar

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!


Community Support
Community Support

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (11,957)