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

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

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

Hi Zhonys,

 

Excellent, thank you for your help, that worked!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

Top Solution Authors
Top Kudoed Authors
Users online (7,156)