> ## Documentation Index
> Fetch the complete documentation index at: https://www.dataframer.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Explain why cases fail (Outcome Findings)

> Find what sets a workflow's unsuccessful cases apart from the ones that went well, check a suggested fix against every case, and track it

**Outcome Findings** explains why a [workflow's](https://www.dataframer.ai/docs/outcomes/overview.md) cases fail. It reads the cases that were not successful, or that did not meet one success condition, next to cases that went well, and lists what sets them apart: for example "referred because of an unexplained prescription history, 4.2× more often in unsuccessful cases". Open it from **Outcome Findings** in the sidebar, under **Workflows**.

It works like [Journey Findings](https://www.dataframer.ai/docs/journeys/journey-findings.md), but on cases. The AI reads each case's events and AI traces without being told whether the case succeeded, and groups the cases into findings. DataFramer then counts how often each finding appears on each side, so the comparison does not depend on the AI guessing the result.

## Find why from a case tile

You start a session from the cases you want to explain, not from the Outcome Findings page:

* **The cases behind a number.** Select a number, a chart point or part of a bar on a workflow's **Health** tab or on a [dashboard](https://www.dataframer.ai/docs/journeys/dashboards.md#workflow-cases). The panel that lists the cases has **Find why** when it holds only cases to explain (a check's red bar, or the **Not successful** end of the journey map), and **Find patterns** for anything else.
* **The Success conditions tile.** Each check that some cases did not meet has **Find why** after its name. Once a session has explained that check, the chip reads **Why? · N findings** and opens it.
* **The Cases list.** On a workflow's **Cases** tab, or the **Cases** tab filtered to one workflow, **Find patterns** compares the workflow's unsuccessful cases over the completed dates of the list. The other filters and the search are not applied.

The dialog shows which cases it will compare, for example "220 unsuccessful (all) · 220 of 880 successful (sample)". When the part of the tile you selected has too few cases that went well, they are taken from the whole workflow over the same dates, and the dialog says so. Cases still updating, or without an answer, are left out. A run reads up to 2,000 cases: the cases to explain, and as many cases that went well (at least 50). When that comes to more than 2,000, each side gets half, and a side with fewer cases leaves what it doesn't use to the other; the counts show which side is a sample.

You can change the **Question (optional)**, for example "What happened before the case was referred?", and the **Model quality**: Cheapest, Balanced (the default) or High-quality. Choose **Find why** (or **Find patterns**) to start. With fewer than 10 cases to explain, the button reads **Run anyway**, because findings from so few cases are unreliable and their comparison is hidden.

The session runs on your company's AI usage; its cost shows in the session list.

## Read the findings

A session's page shows its scope: the workflow, the tile and the part of it you selected, and the dates, with a link to the workflow and how many cases of each side were read. Findings appear under **Discovered Outcome Findings**, grouped by topic. Each one has a name, a description, its cases, and a direction:

* **"2.4× more often in unsuccessful cases"**: the pattern is more common where cases fail. For a check, the sides are named after the check's event: for the check "NOT (Event is clarification\_requested)", "17× more often in cases with clarification\_requested". A check that is not a single event (a sequence, a trace condition or an AI judge) is named by its number: "in cases that failed check 3".
* **"More common in successful cases"**: the pattern goes with cases that went well.
* **"No clear difference"**: it shows up about as often on both sides.
* **"Too few cases to compare"**: there are not enough cases on one side to say.

The **Compared** column gives the two shares, for example "18% vs 7%". Open a finding to see:

* "In 18% of unsuccessful cases (40/220)" and "In 7% of successful cases (15/220)".
* The success rate in this group against the overall one, for example "Success rate 21% in this group vs 48% overall".
* About how many unsuccessful cases a month this pattern accounts for, for example "≈31 unsuccessful cases a month".
* The cases, with their result, failed checks, completion date and why each one belongs there.

These numbers are marked **Estimated (AI grouping)**, because the AI decides which cases are in the finding. The breakdown and the suggestion's rule counts below are exact.

Choosing **Discover** on the session again reads only the cases it has not read yet. If you edit the question, or someone saves a new version of the workflow, the findings stay with "The settings changed since these findings were made. Discover again to replace them.", and the next **Discover** replaces them all.

## Breakdown

A finding's **Breakdown** shows how the success rate (or the share that met the check) changes with your events' fields, in the finding and in all the cases compared. It picks up to five fields where the rate varies most, for example applicant age in ranges or product by value, with the six most common values and **All other values**. Each case counts with the first value it recorded. These numbers are counted, not estimated.

Some fields are never offered: the workflow's id and account fields, the fields its success conditions read (they would restate the result), and free text such as email bodies or notes.

## Suggestion

**Suggest** asks the AI what to do about the finding's cases. The answer is a verdict and the reasons for it:

* **Change a rule**: a simple condition on your fields selects these cases, so the workflow's rules could handle them differently, for example approve them without an extra step. It comes with the result the cases are expected to have: "Cases where … are expected to be successful."
* **Leave to AI**: telling these cases apart takes reading free text, such as notes, emails or documents, so an AI or a person should keep handling them.
* **Fix the AI**: an AI step decides or drafts in these cases, and its AI traces show what misleads it.
* **No action**: the pattern is real but harmless, or the cases give no consistent reason to change anything.

For a rule change, DataFramer replays the condition over **every decided case of this workflow, all time**, and counts exactly: **Covered** (the cases the rule selects), **As predicted** (covered cases with the predicted result) and **Missed** (covered cases with the other result). Select a number to list its cases. **Suggest again** writes a new suggestion.

## Track a finding

Choose **Track** (the pin) on a finding. A tracked finding keeps the part of the workflow its session was started from: the tile's case conditions, the journey map step or path, or the check. On the **Tracking** tab, each refresh reads the cases of that part finalized since the last refresh, adds the ones that match each tracked finding, and records the finding's share next to the success rate of those cases. When too few of the new cases went well, they are taken from the whole workflow, as in the dialog. Tracking never creates new findings.

* **Refresh findings** runs tracking at once. Its menu sets **Auto refresh**: every hour, daily, weekly, or off.
* Each tracked finding shows its cases and its **Latest share**, for example "18% (40/220)".
* A tracked finding's page charts it **Over time**: the share of unsuccessful cases that are in the finding, and the success rate of the cases each refresh read. A finding started from the whole workflow, such as from the Health tab, follows the workflow's success rate. The first point is the discovery it came from.
* Set **Fix shipped** to the date you changed something, and the chart marks it, so you can see whether the share drops after it.
* Turn on the bell to get a Slack message when a finding gets new cases. Connect Slack under **Settings** first.

The breakdown and the suggestion stay on the finding in its discovery session.

## When a session can't run

* **Nothing to explain**: no finalized case in the selection was unsuccessful (or failed the check).
* **Waiting for the workflow's cases to be counted**: if you choose **Discover** while the workflow's cases are being counted again after a new version, the run waits for that, then starts by itself.
* **A removed check**: if a newer version of the workflow removes the check a session explains, its findings stay as they were, but the session can't run again.

## Customer-hosted deployments

If your data stays in your own cloud account, Outcome Findings runs in your data plane, and the descriptions and reasons stay in your bucket; your browser reads them from your gateway. Only the properties [copied to DataFramer](https://www.dataframer.ai/docs/deployment.md#user-signals-in-a-customer-hosted-deployment) can be broken down or used in a suggested rule; a suggestion that needs another field names it, so you can add it to the copied properties.

## Next steps

> [card] [Workflows](https://www.dataframer.ai/docs/outcomes/overview.md)
>
> Count cases and decide when one is successful

> [card] [Dashboards](https://www.dataframer.ai/docs/journeys/dashboards.md)
>
> Follow a workflow's cases and success conditions over time


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.