MIDServerFileSync - Global

concept brazil Updated Sep 10, 2026 1 min read c_MIDServerFileSyncAPI.md
Raw file servicenow.com

The MIDServerFileSync script include provides methods to check to see if there are any changes to attachments on tables that are instances of MID Server synchronized files (ecc_agent_sync_file) and, if so, notifies the MID Servers of a change.

The tables that extend the sync tables are MID Server JAR file (ecc_agent_jar) and MID Server MIB File (ecc_agent_mib).

Use in server scripts to notify MID Servers.

Parent Topic:Server API reference

MIDServerFileSync - MIDServerFileSync()

Creates an instance of MIDServerFileSync.

Name Type Description
None

MIDServerFileSync - notifyMIDServers(String table)

Checks for any changes to attachments on the specified table that are instances of MID server synchronized files and, if so, notifies the MID servers of a change.

Name Type Description
table String The table to check
Type Description
void
JavaScript
var msfs = new MIDServerFileSync();msfs.notifyMIDServers('ex.table.name');
Search documentation
Search document titles and file paths on the brazil branch