I have a flow that lists the tasks from a planner, then I apply a Filter array to return all the tasks that have the blue label. There are 239 of these tasks, but the filter array is only returning 13 of them. I can't figure out why. The kicker is that yesterday it did this perfectly and I haven't changed anything since then. The filter array code is this:
{ "inputs": { "from": "@outputs('List_tasks')?['body/value']", "where": "@equals(item()?['appliedCategories/category5'], true)" }, "metadata": { "operationMetadataId": "80962a50-9c5a-4a88-b686-0e71ca804c48" } }
Some of my tasks have multiple labels, but even some of the tasks that ONLY have the blue label are not getting returned. Any idea what I could be missing?
Hi there,
So by default, the threshold limit on the task output is 400. That means that if Power Automate returns the first 400 tasks it sees, only 13 of those might be Blue.
To resolve this - to see if this is the issue - try this out:
- Double click on the List Tasks action
- Click on Settings
- Click on Pagination
- Increase the threshold:
Let us know if that works for you!
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2