Create a script definition for a remote table
-
- UpdatedFeb 1, 2024
- 3 minutes to read
- Washington DC
- Remote Tables
Define and associate a script with a remote table so that you can retrieve data from an external source with it. The ServiceNow AI Platform retrieves and caches the data for the remote table by running the script against an external data source so you can view or modify it. You can also designate how this external data is cached and how long the data is cached in memory until the script must run again.
Before you begin
Role required: admin
About this task
You create script definitions for remote tables like you do for other scripts. To learn more about entering, modifying, and debugging scripts, see JavaScript syntax editor.
Procedure
Result
When you activate a script definition, you associate it with the remote table so that you can retrieve and cache the external data.