Creates a Connection & Credential Alias (sys_alias) record.
sys_alias
Aliases provide a way to define connections and credentials that can be referenced by integrations, Flow Designer actions, and other components without hard-coding connection details.
Configuration object for the Alias
import { Alias } from '@servicenow/sdk/core'Alias({ $id: Now.ID['my_alias'], name: 'My HTTP Connection', type: 'connection', connectionType: 'httpConnection', description: 'HTTP connection for external API',}) Copy
import { Alias } from '@servicenow/sdk/core'Alias({ $id: Now.ID['my_alias'], name: 'My HTTP Connection', type: 'connection', connectionType: 'httpConnection', description: 'HTTP connection for external API',})
Creates a Connection & Credential Alias (
sys_alias) record.Aliases provide a way to define connections and credentials that can be referenced by integrations, Flow Designer actions, and other components without hard-coding connection details.