# History: search/filter for failed Runs linked to a successful Work Order

**URL:** <https://community.openfn.org/t/history-search-filter-for-failed-runs-linked-to-a-successful-work-order/720>\
**Category:** Feature Requests\
**Created:** [December 3, 2024, 1:06pm UTC](https://community.openfn.org/t/history-search-filter-for-failed-runs-linked-to-a-successful-work-order/720 "2024-12-03T13:06:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksa-krolls](https://community.openfn.org/user_avatar/community.openfn.org/aleksa-krolls/32/156_2.png) [@aleksa-krolls](https://community.openfn.org/u/aleksa-krolls)\
**Post date:** [December 3, 2024, 1:06pm UTC](https://community.openfn.org/t/history-search-filter-for-failed-runs-linked-to-a-successful-work-order/720/1 "2024-12-03T13:06:42Z")

</div>

A use case came up last week where a client wanted to look up failed Runs which were related to a successful Work Order. There are some troubleshooting scenarios where even though the Work Order “succeeds”, we still want to find the failed Runs to inspect the logs and review the processing history for a given Work Order. With the current UI, it’s not possible to go back and filter for these failed Runs as soon as the Work Order succeeds.

---

<div class="post-metadata">

**Author:** ![taylordowns2000](https://community.openfn.org/user_avatar/community.openfn.org/taylordowns2000/32/165_2.png) [@taylordowns2000](https://community.openfn.org/u/taylordowns2000)\
**Post date:** [December 7, 2024, 7:10am UTC](https://community.openfn.org/t/history-search-filter-for-failed-runs-linked-to-a-successful-work-order/720/2 "2024-12-07T07:10:54Z")

</div>

Love this. I think it’s reflected (at least partially) in [Add sub-selection of workflow step to history filters · Issue #1792 · OpenFn/lightning · GitHub](http://github.com/openfn/lightning/issues/1792) and [Adjust history filters to allow sub-selection of error\_type under "state" · Issue #1350 · OpenFn/lightning · GitHub](http://github.com/openfn/lightning/issues/1350).

We should be able to sub-select steps in a workflow (when filtering on workflow) to show only runs that include that step, and we should be able to filter on the exit status of steps themselves, not just runs.
