Schedule an export
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- Data Management
You can schedule an export to regularly push data from an export set to a remote destination. By setting up a recurring, scheduled export you are able to regularly push data to an external location, such as for reporting or for preserving a snapshot of the data.
Before you begin
About this task
Procedure
What to do next
Scheduled export set delta exports
Delta exports include only the records that changed since the last scheduled export.
A database view does not include system fields such as sys_created on, sys_created by and sys_updated on. Because the system date fields are not included in the database view, you cannot use delta exports with database views since there is no way to know when the table was last updated.
Scheduled export set scripting options
When scheduling an export set, you can access certain JavaScript objects.
- cancel
- Set this object to true to stop the export action. Any child export
sets are also cancelled if the parent is cancelled. This object is available only in
the Pre-script field.Example: Use the Pre-script field to evaluate the conditions of the export and determine whether to cancel the export process. To cancel the export process, use the following call:
- export_set
- Get the GlideRecord object for the new export set. This variable allows you to query
the following columns from the sys_export_set table:
- name
- sys_id
- state
- table_name
This object is available in both the Pre-script and Post-script fields.
Example: If you want to use information from the export set, you can specify one of the properties of the export_set variable.