Skip to main content

Boolean Field Types

These field types use dataType: 'boolean'.

Field TypeStored Value
Switchtrue or false
SummaryBoolean aggregate when the summary function returns a boolean
Dynamic FormulaBoolean 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 });
}