Skip to main content

5 docs tagged with "lookup"

View all tags

Querying the Instance

now-sdk query runs a read-only Table REST API query against the authenticated ServiceNow instance. Use it for live, instance-specific data — column metadata, existing sys_ids, choice values, role memberships, scope info, etc.

ReferenceColumn

Defines a reference (foreign key) column that links a record to a row in another table. Use referenceTable to specify the target table and cascadeRule to control what happens to referencing records when the target is deleted.

ReferenceVariable

Creates a reference lookup variable for service catalog forms. Use when users need to select a record from another table (e.g., a user, group, or configuration item) via a searchable lookup field. Add a ReferenceVariable to a CatalogItem or VariableSet via the variables property.