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

# Rules

> Rules in Cortex are logic-based conditions that control how workflows execute, ensuring structured automation and decision-making.

## Features

* **Workflow Dependency** - Every rule is tied to a workflow, defining when and how it runs.
* **Execution Order** - Set rules to run Before All, After All, or Unordered to control workflow sequencing.
* **Custom Configuration** - Adjust settings to fit different workflow needs.
* **Custom Outputs** - Define results as Pass, Fail, or Manual Review (Human-in-the-Loop) for flexible automation.
* **Field Validations** - Validate and process input data before determining an outcome.
