@servicenow/sdk - v4.7.0
    Preparing search index...

    Function ReferenceVariable

    • A CatalogItem variable for a reference field.

      Parameters

      • config: ReferenceVariableType

        Configuration for the reference variable including:

        • question - Question text displayed to the user
        • referenceTable - Table that is being referenced by this variable
        • useReferenceQualifier? - Type of reference qualifier ('simple', 'dynamic', or 'advanced')
        • referenceQualCondition? - Filter reference based on a filter condition (only with 'simple')
        • dynamicRefQual? - Filter reference based on a filter condition (only with 'dynamic')
        • referenceQual? - Advanced reference qualifier (only with 'advanced')
        • And all other properties from the base Variable type

      Returns ReferenceVariableType<
          keyof Tables,
          string
          | ExplicitKey<string>
          | Record<keyof Tables>,
      >