The FieldWriteOptions class provides functions that set the options for updating or creating fields in a record on a ServiceNow instance.

Table 1. Properties
Name Type Description
rawValue Integer Result of the bitwise operation of the suppressAutoSysField and the treatInputValuesAsDisplayValues properties.
suppressAutoSysField Boolean Flag that indicates whether to suppress the automatic generation of system fields.
Possible values:
  • true: Suppress automatic generation of system fields.
  • false: Allow automatic generation of system fields.

Default: false

treatInputValuesAsDisplayValues Boolean Flag that indicates whether to set field values using their display value rather than the actual value.
Possible values:
  • true: Use display value.
  • false: Use actual value.

Default: false