cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

Odata filter query in get items for SPO Task list's column Task Status not equal to completed

Hi,

 

I am using an OOTB Task list in sharepoint to assign tasks to different users.

I have a flow setup that is functioning perfectly, it sends an email out about all tasks assigned to a user in one email. 

I want to make a change and add a Odata filter query in get items so it only returns Tasks for which "Task Status value is not equal to completed". Currently the flow includes all tasks in the email with all task statuses like not started, completed etc. I want to eliminate completed tasks so I guess I will have to add filter query in get items action but not sure what the query would be.

 

Also fyi, I am using the default columns offered by SPonline task list. So the internal name of task status column is "Status".

Capture.PNG

Below are flow screenshots. Can someone please help with Odata query. Thanks in advance.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution Sage
Solution Sage

Re: Odata filter query in get items for SPO Task list's column Task Status not equal to completed

Hi dmistry,

I think what your purpose is to use filter query in get items to get the tasks which "Task Status value is not equal to completed". I have made a flow for your scenario, please check it for a reference.

The expression is: Status ne 'Completed'

Capture1.PNGCapture2.PNG

Please feel free post back if you need more help.

Best regards,

Zhonys

View solution in original post

2 REPLIES 2
Highlighted
Solution Sage
Solution Sage

Re: Odata filter query in get items for SPO Task list's column Task Status not equal to completed

Hi dmistry,

I think what your purpose is to use filter query in get items to get the tasks which "Task Status value is not equal to completed". I have made a flow for your scenario, please check it for a reference.

The expression is: Status ne 'Completed'

Capture1.PNGCapture2.PNG

Please feel free post back if you need more help.

Best regards,

Zhonys

View solution in original post

Highlighted
Post Prodigy
Post Prodigy

Re: Odata filter query in get items for SPO Task list's column Task Status not equal to completed

Hi Zhonys,

 

Excellent, thank you for your help, that worked!

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (5,430)