ENUM

ValidationLevel

Validation checks to skip or add when saving records; pass a list and the selected values combine.

link GraphQL Schema definition

  • enum ValidationLevel {
  • # No validation is skipped; this is the default when the list is empty.
  • FULL
  • # On update, validates only the fields whose values change in the request.
  • SKIP_UNCHANGED_FIELDS
  • # Skips validation rules configured on the record type's form, such as fields
  • # marked as required, and step checklist requirements.
  • SKIP_USER_DEFINED_VALIDATIONS
  • # Allows setting fields that are normally read-only, except fields that are always
  • # system-managed.
  • SKIP_READONLY_VALIDATION
  • # Skips checks on related records, such as rejecting links to deleted records; ids
  • # of records that do not exist are still rejected.
  • SKIP_RELATIONSHIP_VALIDATION
  • # Skips checks on field values (required, empty, minimum/maximum and format); the
  • # value type is still checked.
  • SKIP_FIELD_VALUE_VALIDATION
  • # Saves the record even when a calculated field fails to evaluate or yields an
  • # empty value for a required field.
  • SKIP_INVALID_RECALCULATIONS
  • # Allows moving a lead, opportunity or quote forward past steps whose required
  • # checklist items are not completed.
  • SKIP_STEP_CHECKLIST_VALIDATION
  • # Also enforces conditional required-field and visibility rules defined on the
  • # form; slower, so it is off by default.
  • INCLUDE_CONDITIONAL_FIELD_REQUIREMENTS
  • # Skips the check that values of unique fields are not already used by another
  • # record.
  • SKIP_UNIQUE_VALIDATION
  • # Calculated fields are not recalculated when the record is saved.
  • SKIP_RECALCULATION
  • # Combines all SKIP_* values except SKIP_UNIQUE_VALIDATION and SKIP_RECALCULATION;
  • # ids of records that do not exist are still rejected.
  • SKIP_ALL
  • }

link Require by