@servicenow/sdk - v4.7.0
    Preparing search index...
    • StepDefinition: returns an ActionStepWithMeta that preserves the allow_* flags at the type level.

      • AI / AO are inferred from the provided config when you pass literal true/false values.

      Type Parameters

      Parameters

      • _config: { $id: string | number | ExplicitKey<string> } & {
            protectionPolicy?: "read" | "protected";
        } & OverrideProperties & {
            allowExtendedInputs?: boolean;
            allowExtendedOutputs?: boolean;
            category?: string;
            inputs?: I;
            name: string;
            outputs?: O;
            shortDescription?: string;
        } & { allowExtendedInputs?: AI; allowExtendedOutputs?: AO }
        • OptionalprotectionPolicy?: "read" | "protected"

          Controls edit/view access for other developers after the application is installed.

          • read: Others can see the script logic but not change it.
          • protected: Others cannot change this record.
          • Omit to allow other developers to customize this record.
        • OptionalallowExtendedInputs?: boolean

          Whether this step allows extended inputs

        • OptionalallowExtendedOutputs?: boolean

          Whether this step allows extended outputs

        • Optionalcategory?: string
        • Optionalinputs?: I
        • name: string
        • Optionaloutputs?: O
        • OptionalshortDescription?: string
        • OptionalallowExtendedInputs?: AI

          Make TypeScript infer the literal booleans when provided

        • OptionalallowExtendedOutputs?: AO

      Returns ActionStepWithMeta<FlowIOType<I>, FlowIOType<O>, AI, AO>