Try the failed-jobs investigation
- Open Library → Investigations on the sample connection and choose Investigate failed jobs.
- Enter
CASE-1042as the Case ID and run. The fixed query selects failed jobs. The typed input adds the case match. The unmodified sample returns five runs. - Review these settings as an example of a reusable definition. The run-time case ID is entered separately.
| Setting | Saved value |
|---|---|
| Name | Investigate failed jobs |
| Collection | acme.job_runs |
| Fixed filter | {"status":"failed"} |
| Input label and type | Case ID · text |
| Match field | case_id |
| Sort and projection | {} and {} |

Review a teammate’s changes
A new publication has a revision. Refresh if somebody else has published a newer version and review its fixed query before running or updating it. Choose the intended profile and database when applying shared work to another environment.
Entered parameter values and returned documents stay out of the saved definition. A sensitive literal placed in the fixed query will be present on disk. Use parameter inputs for varying identifiers and manage membership of the shared folder.