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

    NAP config with simple condition mode (default) — roles-based filtering only. No condition script is needed.

    interface NowAssistPanelConfigSimple {
        conditionMode?: "simple";
        conditionScript?: undefined;
        enabled: true;
        roles?: (string | Role | Record<"sys_user_role">)[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    conditionMode?: "simple"

    Simple mode uses roles-based filtering only.

    'simple'
    
    conditionScript?: undefined

    Not allowed in simple mode. Set conditionMode: 'advanced' to use a condition script.

    enabled: true

    Enable NAP deployment

    roles?: (string | Role | Record<"sys_user_role">)[]

    Roles that can access this skill in the Now Assist Panel. Optional in both modes.

    • Simple mode: if omitted, defaults to 'now_assist_panel_user' (the universal panel-access role). Provide additional roles to broaden access.
    • Advanced mode: if omitted, roles are left empty and the conditionScript alone governs access. No default role is injected.

    In simple mode, omitting 'now_assist_panel_user' from provided roles raises a warning; advanced mode does not warn.

    roles: ['now_assist_panel_user', 'access_analyzer_ai_user']