- Require values: Block changes unless they meet specific requirements. Useful for keeping records complete and consistent. Examples include requiring a field to match a specific format like text, or stay within a specific numerical range.
- Run a workflow: Trigger a workflow before or after saving a change:
- Run before saving: a workflow outcome determines if the change is saved. The change is held until the workflow completes. The workflow either accepts or rejects the change, or fails. On rejection or failure, a database issue is opened. For example, trigger a workflow that requires approvals before a record is deleted.
- Run after saving: a workflow runs once a change is saved, but doesn’t block the change. Instead, on a failure, a database issue is opened. For example, update a related record whenever an item changes.
- Normalize values: Map inconsistent entries to a canonical value. Useful for standardizing messy data. For example, map “Acme Incorporated”, “ACME”, and “Acme Inc.” to a single vendor “Acme”, and normalize all mapped entries in the table accordingly.
Create a rule
You can create a rule manually or with Catalyst.Catalyst
In a Catalyst chat, describe the rule you want to create using plain language. For example, ask Catalyst to “create a rule that requires an owner to be set before a device can be marked as in use”. For more information, see Building with Catalyst.Manually
- In Databases, open the table you want to add a rule to.
- On the table, open the Rules tab
- Select Create Rule.
- In the dropdown, select Require values, Run a workflow, or Normalize values. Configuration options vary depending on the selected rule type.
Rule types and configuration options
The available configuration options vary by rule type.Validation and workflow
When you choose Require values or Run a workflow, you can configure the following:- Check on determines the rule type. A Require values rule applies to any create, update, or unarchive operations. A workflow rule can also cover archive and deletion.
- Only apply when is an optional setting that sets conditions that must match for a rule to run, or the rule is skipped.
- Then determines the effect, depending on the rule type selected.
- Require values: add conditions that the item must satisfy, and add an error message to display when the change is blocked. Conditions can test whether a field changed, compare a field to a value or to another field, match a regular expression, check a numeric range, or match on who made the change (a person, an API key, a workflow, a sync, or a specific person, team, role, or group), combined with AND or OR.
- Workflow: select the workflows to run. Each rule runs the workflow’s deployed version.
Normalization
When you choose Normalize values, the Create normalization rule dialog opens:- Input field: the text or choice field containing values to normalize.
- Output field: the choice or link field that receives the matched value.
- Existing items explains whether existing items will be normalized. Mapping into a different field runs on existing items when the rule is created. Normalizing the input field itself only applies as values are written and cannot rerun on existing items.
Good to know
- Validation and workflow rules apply to future changes. For normalization rules, the Existing items section explains when existing items can be processed.
- Rules are set at the table level.
- Permissions vary by Serval role and the type of action being performed.
- Viewing a rule requires read-only roles or higher.
- Creating, enabling, editing and deleting rules requires a Builder role or higher.
- The Rules tab is hidden on tables shared from another workspace, and for roles that can’t view tables.

