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

    Type Alias InputAttribute<T>

    InputAttribute: InputAttributeBase & {
        tableName?: T;
        tableSysId?: Record<T> | string;
    }

    Input attribute definition Maps to sys_one_extend_definition_attribute with type='input'

    IMPORTANT: When using dataType: 'glide_record', tableName is REQUIRED. Additionally, tableSysId is REQUIRED when testValues is provided.

    Type Parameters

    Type Declaration

    • OptionaltableName?: T

      Table name for glide_record type (REQUIRED when using glide_record dataType)

    • OptionaltableSysId?: Record<T> | string

      Test record sys ID for glide_record type.*

    // Correct usage with glide_record and testValues:
    {
    $id: Now.ID['my_skill_incident_input'],
    name: 'Incident',
    description: '',
    mandatory: false,
    dataType: 'glide_record',
    truncate: false,
    testValues: 'INC0010001',
    tableName: 'incident',
    tableSysId: '9c963b7b33b776109c7c22c91e5c7b57',
    }