export_record_xml
Export ServiceNow record XML directly from the live instance, then return the saved file path after issuing an origin certificate for deployment.
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. |