Boolean Field Types
These field types use dataType: 'boolean'.
| Field Type | Stored Value |
|---|---|
| Switch | true or false |
| Summary | Boolean aggregate when the summary function returns a boolean |
| Dynamic Formula | Boolean result when the formula result type is boolean |
Boolean summary functions include all-true and any-true style checks.
if (record.data.requires_approval === true) {
await context.approval.submitRecord({ recordId: record.id });
}