export_record_xml
Export ServiceNow records as deployable XML from the live server. Provide table and sys_ids, then read saved_path for the generated file.
Instructions
Build deploy XML from the LIVE server — the only legal source. Issues an origin cert. Read saved_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | No | Advanced: raw <table>_<sys_id> names, for a cross-table file. | |
| table | No | ||
| sys_ids | No | sys_ids to export. Combined with table into update names. | |
| output_dir | No | Save dir (auto filename). Default: ./temp/<instance>/xml/ | |
| output_path | No | Exact .xml file to write. Overrides output_dir. |