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

    Interface DeploymentSettings

    Deployment settings for Now Assist skills Configures where and how the skill should be deployed

    interface DeploymentSettings {
        flowAction?: true;
        nowAssistPanel?: NowAssistPanelConfig;
        skillFamily?: string | Record<"sn_nowassist_skill_family">;
        uiAction?: UIActionConfig;
    }
    Index

    Properties

    flowAction?: true

    Flow Action / Workflow Trigger deployment configuration Creates a View Trigger configuration step that enables workflow triggers

    flowAction: true
    
    nowAssistPanel?: NowAssistPanelConfig

    Now Assist Platform (NAP) deployment configuration Enables deployment to Now Assist Platform

    // Basic NAP deployment with required role
    nowAssistPanel: {
    enabled: true,
    roles: ['now_assist_panel_user']
    }
    // NAP deployment with multiple roles
    nowAssistPanel: {
    enabled: true,
    roles: ['now_assist_panel_user', 'access_analyzer_ai_user']
    }
    skillFamily?: string | Record<"sn_nowassist_skill_family">

    Skill family to associate this skill with in the Now Assist admin panel. Accepts either a sys_id string or a record reference to an existing sn_nowassist_skill_family record. If not provided, defaults to the "Others" skill family.

    // By sys_id string
    skillFamily: 'dd4d92572fe7be10ac5ed15fafa4e3d4'
    // By record reference
    skillFamily: Record({ table: 'sn_nowassist_skill_family', data: { name: 'My Family' } })
    uiAction?: UIActionConfig

    UI Action deployment configuration

    Auto-generation creates:

    • sys_ui_action record with skill invocation script
    • sys_ux_form_action record for UI compatibility
    • Condition checking if skill is active
    • Auto-mapped inputs from promptConfiguration

    All fields except table are optional — defaults are auto-generated:

    • name defaults to skill name
    • condition defaults to skill active check
    • script defaults to skill invocation script
    • active defaults to false

    Note: The target table must have actions_access: true to allow UI Actions.

    // (recommended):
    uiAction: { $id: Now.ID['my_skill_uiaction'], table: 'incident' }