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

    Type Alias FlowIOType<T>

    FlowIOType: {
        [K in keyof T as IsVisibleField<T[K]> extends true
            ? IsMandatory<T[K]> extends true ? K : never
            : never]: GetFieldType<T, K>
    } & {
        [K in keyof T as IsVisibleField<T[K]> extends true
            ? IsMandatory<T[K]> extends true ? never : K
            : never]?: GetFieldType<T, K>
    }

    Transform inputs/outputs to have mandatory fields required and optional fields as optional. Fields with visible='false' are completely excluded from IntelliSense/content assist. This type:

    1. Filters out hidden fields (visible='false')
    2. Makes visible mandatory fields required
    3. Makes visible optional fields optional

    Note: Strict type checking (preventing excess properties) is enforced at the function level using the Exact type in Action, Trigger, and Subflow function signatures.

    Type Parameters