Table Of Contents
Table Of Contents

Default a value

Sometimes you want to default a value into a field.

Rule Type Format

‘value’

Snippits

Default a Value

Defaults a value into the field

Default a Text Value

Rule Type = Calculated Output Field

Rule Attribute = ‘Supplier’ : RoleType

Default a Numeric Value

Rule Type = Calculated Output Field

Rule Attribute = safe_cast(1 as int64) : Quantity

Default a True or False

Rule Type = Calculated Output Field

Rule Attribute = cast(True as Boolean) : Condition

Default a Null

Rule Type = Calculated Output Field

Rule Attribute = cast(null as string) : Fax