Skip to content
Tool Deep Dive

Power Automate Filter Array Is Empty: Find Where the Records Disappeared

Trace Power Automate Filter array inputs, fields and conditions to distinguish missing records from a genuinely empty queue, using three controlled fixtures.

GS

Published December 1, 2026

Six geometric tokens remain in an inlet beside an empty sieve and tray, representing a missing-input problem.
Original AI-generated editorial illustration. Concept and art direction: AI Adoption Trends.

When Power Automate's Filter array action returns an empty list, inspect the records entering the action before changing the condition. Then check the actual field names, value types and matching rule. An empty result can mean there is no qualifying work, but it can also mean the flow received the wrong collection or compared a field that was absent.

The immediate diagnostic is a count before filtering, a count afterward and one known record that should qualify. Keep the downstream send or update action disabled in a test copy while you investigate. Do not broaden the filter until something passes; that can turn a missing-work problem into an incorrect-recipient or incorrect-record problem.

This guide is for an operations owner whose flow runs but produces no useful work. If the flow never starts and there is no run to inspect, diagnose the trigger first. If the flow fails with an explicit connection or permission error, resolve that failure before treating the output as an ordinary empty queue.

Know what Filter array can establish

Microsoft's data operations documentation, checked December 1, 2026, describes Filter array as selecting a subset of an existing array. An array is a list of items. The action does not reshape the objects in that list, and Microsoft notes that the text being filtered is case-sensitive.

That means the action can only select from the items it receives. It cannot retrieve rows that an earlier connector did not return. It also cannot turn a nested status object into a plain text field merely because the condition looks as though it is comparing a word. Start with the actual run input rather than the labels you remember from the designer.

The business decision comes first. For the worked example below, the queue should contain requests whose Status is exactly Ready and whose Owner is exactly Ops. Missing required fields are data errors. Different capitalization is a mismatch under this deliberately strict rule. Your organization may choose another rule, but it must be written down before the filter is repaired.

Preserve one failing run and one expected record

Record the flow name, run time, source system, relevant action names and the identifier of a record that should have passed. Ask the source owner to confirm that the record existed and qualified at the time of the run. A record changed later may explain why today's source screen differs from yesterday's automation input.

Inspect the action immediately before Filter array. Identify the actual list supplied to the From field. Some connector responses wrap a list inside another object; other actions already return a list directly. Use the observed output structure to choose the collection. Do not assume every connector uses the same property name or that the entire response body is always the desired array.

Keep a small sanitized copy of the relevant input for the investigation when your access rules allow it. Remove unrelated personal or customer information. The diagnostic needs the identifier and fields used in the condition, not an unrestricted export of the whole system.

The flow maintainer owns the technical trace. The business queue owner confirms who should qualify. The source owner resolves missing or changed data. Write down those names before a repair is released; a green run history does not tell you which person is responsible for checking that expected work arrived.

Put counts around the point where work disappears

In a test copy, create a Compose action named SourceRows containing the exact array you intend to filter. A Compose action stores a value for use in later steps. Point Filter array at that value. Add a diagnostic count using length(outputs('SourceRows')). After an action named Filter_array, count its result with length(body('Filter_array')). Adapt action references to the actual internal names in your flow.

Microsoft's workflow expression reference applies to Power Automate as well as Azure Logic Apps and documents functions including length and equals. The expressions here are a proposed diagnostic arrangement. Check the values in your own run; a count of six proves six items reached that point, not that they are the six items the business expected.

Record the source count, filter count and expected count together. If the source count is zero, investigate the earlier retrieval and its scope. If the source count is positive but the filter count is zero, inspect the predicate—the condition that decides whether each item passes. If the filter count is correct but nothing happens afterward, inspect the downstream branch and its input.

Find where records disappear. Input count is zero: Inspect retrieval and its scope. Input exists; output is zero: Inspect fields, types and condition. Output is correct; no work follows: Inspect the downstream branch.
Proposed flow diagnostic. A failed retrieval is not all clear. Diagram: AI Adoption Trends.

Avoid using a generic empty fallback to hide an upstream failure. If a retrieval action failed or returned an unexpected structure, the correct outcome is an error requiring investigation. An intentionally empty collection and an unavailable collection have different meanings for the business queue.

Six records make the comparison visible

Use this constructed fixture in a test flow, with no live messages or record updates. Each line below describes one object in the input list. Identifiers are included so you can inspect which records passed, rather than relying only on the final count.

  • R1: Status is Ready; Owner is Ops.
  • R2: Status is ready; Owner is Ops.
  • R3: Status is Ready followed by one space; Owner is Ops.
  • R4: Status is Ready; Owner is Sales.
  • R5: Status is Closed; Owner is Ops.
  • R6: Status is absent; Owner is Ops.

Under the stated exact rule, only R1 qualifies. R2 differs in case, R3 contains an extra character, R4 belongs to a different owner, R5 has a different status, and R6 lacks a required field. The result is one selected record from six inputs, while R6 should also be visible in a separate data-quality exception list.

For a test action using these simple text fields, the advanced condition can be expressed as @and(equals(item()?['Status'], 'Ready'), equals(item()?['Owner'], 'Ops')). In an expression editor that adds the leading marker itself, enter the expression without the initial @. Verify the saved condition and run outputs rather than assuming that pasting syntax into a different editor mode produced the intended rule.

The question-mark property access in the example allows a missing property to yield no value rather than requiring that property to exist, as described in Microsoft's workflow operator reference. It does not validate the business record. The separate required-field check is what prevents R6 from being silently treated as an ordinary nonqualifying request.

For that check, inspect every source item for a nonempty identifier, Status and Owner before releasing downstream work. Put items that fail into a separate exception list with their identifier and missing-field reason. Send that list to the data owner through the approved internal process. Do not count an item as valid simply because the optional property access avoided a technical error.

Three controlled fixtures. Original: 6 inputs: 1 selected; 1 missing-field exception Correct R2 and R3: 6 inputs: 3 selected; R6 still invalid Valid empty: R4 and R5: 2 inputs; 0 selected; 0 invalid
Exact Ready + Ops rule. Constructed data; inspect IDs too. Diagram: AI Adoption Trends.

Now change only the source values in a second fixture: correct R2 and R3 to the canonical Ready value, leaving the other four records unchanged. The expected selected IDs are R1, R2 and R3, for a count of three. This is a controlled data correction, not permission to normalize all production identifiers or statuses without approval.

Test one condition at a time

If the combined condition returns zero unexpectedly, first test Status alone in the diagnostic copy, then Owner alone, then both together. Inspect the selected identifiers after each step. A positive count for each separate condition does not guarantee that the same record satisfies both, so the combined result still needs checking.

For the original six-record fixture, exact Status Ready selects R1 and R4. Exact Owner Ops selects R1, R2, R3, R5 and R6. Their intersection contains only R1. If your test produces something else, investigate the fixture entry, field references or actual saved comparison before reconnecting downstream actions.

Inspect data types as well as visible values. A status may be plain text in one source and a nested object containing a label in another. A numeric code may arrive as a number or as text. Do not compare an entire object with a label and then conclude that the business has no Ready work. Select the appropriate observed property, or add an explicit approved transformation before the filter.

When a field has been renamed or its structure changed, treat that as an input-contract change. The input contract is the agreement about required fields, types and meanings. Update the mapping and the fixture together. If you simply add another fallback path whenever a field is missing, future schema changes may produce increasingly plausible but incorrect output.

Decide when normalization is legitimate

The queue owner may decide that ready, Ready and READY mean the same business state. If so, document a canonical comparison rule and preserve the original source value for investigation. Test every known variant plus a genuinely different status. The change should be approved because it changes which records qualify.

Do not apply the same normalization automatically to every field. Case may be irrelevant for a human-entered status but meaningful for a system identifier. Trimming spaces can be sensible for a controlled status label and destructive for another kind of source string. Make the rule field-specific.

A good repair changes the narrowest cause that explains the failure. If the source form permits inconsistent status labels, fixing that entry process may be better than adding increasingly complicated conditions to every downstream flow. Keep the temporary repair visible until the source correction is complete.

The expected output of this decision is a short mapping note: source field, permitted values, canonical values if any, handling of missing values and the owner who approved the rule. Attach the note to the flow's operating documentation so a future maintainer understands why the filter behaves as it does.

Prove that an empty queue is a valid result

Create a third fixture containing only R4 and R5 from the original example. Both records are valid inputs, but neither satisfies Status Ready and Owner Ops together. The expected source count is two and the expected result count is zero. That is a legitimate empty queue under the stated rule.

Keep that outcome distinct from a fourth fixture in which the retrieval provides no usable collection, and from a fifth fixture whose records lack required fields. Those should follow the workflow's explicit error or data-quality path. The exact action you use for reporting can vary; the business distinction should not.

If the result is empty, write a useful operational record: source retrieval completed, number of items examined, rule version, number of invalid records and zero qualifying items. Do not send “all clear” when invalid records remain unresolved. The queue owner needs to know whether there is no work or whether the system could not determine the workload.

For retrieval limits, examine the source action before expanding the filter. Our SharePoint Get items guide covers one specific retrieval problem. Its limits and settings should not be assumed to apply to every connector; check the action you actually use.

Release the repair with a small checklist

  • Confirm the business selection rule and its owner.
  • Preserve the failing run reference and one expected qualifying record.
  • Verify the actual input collection, field names and value types.
  • Run the original six-record fixture: six inputs, one selected ID, one missing-field exception.
  • Run the corrected fixture: six inputs, three selected IDs.
  • Run the valid-empty fixture: two inputs, zero selected IDs, no missing-field exceptions.
  • Verify that retrieval failures and invalid structures cannot produce an ordinary all-clear result.
  • Reconnect downstream work only after reviewing the selected identifiers and testing duplicate-safe recovery.

The last step matters if an earlier run processed some records before a failure. Replaying the entire source can create duplicate emails, tasks or updates. Establish which records already completed and how the flow recognizes them before rerunning live work.

Measure coverage, not just successful runs

Track records retrieved, records rejected for invalid data, records selected and records successfully handled downstream. Use identifiers to reconcile the handoff when the work is consequential. Counts are useful alarms, but two different wrong populations can have the same size.

The cost of this diagnostic is maintainer and queue-owner time, plus any consumption associated with test runs and connected actions under your actual plan. There is no need to buy an AI tool to solve a deterministic filtering problem. If a repair releases staff time, measure it over comparable runs and keep that capacity separate from cash savings.

Stop downstream processing when a known qualifying record disappears without explanation, an invalid source produces an all-clear message or the selected population contains an unauthorized record. Use the failed and skipped action alert guide to make the error path visible. Your next step is to capture the input count and one expected ID from the same failing run; that usually tells you where the investigation should begin.

Weekly Newsletter

AI Adoption Weekly

New research, field guides, training studies, and tool decisions for operators.

No spam. Unsubscribe anytime.

Related Comparisons

Calculator

AI seat cost calculator

List price × headcount. You enter the hours and the operating assumptions.

Open calculator