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
Solution Sage
Solution Sage

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
Solution Sage
Solution Sage

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

Hi Zhonys,

 

Excellent, thank you for your help, that worked!

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 (9,879)