> For the complete documentation index, see [llms.txt](https://help.workdigital.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.workdigital.io/custom-database-apps/automation-rules/record-based-rules/rule-conditions.md).

# Rule Conditions

* For Record Based Rules, you can define conditions based on the fields of your App.
* You can compare the fields of the selected app or any connected apps of the selected app. You can also add multiple conditions and use `AND` – (all conditions must satisfy) or `OR` – (any one condition should satisfy).
* The above example shows two conditions must match (use of `AND`) in order for the rule’s action to be executed :

1. `Current Stock <= Minimum Stock`
2. `Category = Automotive`
