MIDSystem methods
reference brazil Updated Sep 10, 2026 5 min read r_MIDSystemMethods.md
MIDSystem variables (referred to by the variable name ms.) provide a variety of methods to get information about the MID Server.
|
|
This example writes a message to the log:
ms.log('Attempting to log in with user: ' + this.getParameter('user'));
Parent Topic:MID Server reference
Related topics
MID Server system requirements
MID Server Configuration Parameter settings and priority
MID Server protected records and reserved characters
MID Server privileged commands
Manually start, stop, and restart a MID Server
70 lines · 2.2 KB
---
title: MIDSystem methods
description: MIDSystem variables \(referred to by the variable name ms.\) provide a variety of methods to get information about the MID Server.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/servicenow-platform/mid-server/r\_MIDSystemMethods.html
release: brazil
product: MID Server
classification: mid-server
topic_type: reference
last_updated: "2026-09-10"
reading_time_minutes: 5
breadcrumb: [MID Server reference, MID Server, Manage instance data sources, Extend ServiceNow AI Platform capabilities]
---
# MIDSystem methods
MIDSystem variables \(referred to by the variable name ms.\) provide a variety of methods to get information about the MID Server.
<table id="table_lhn_gsf_khb"><tbody><tr><td>

</td></tr></tbody>
</table>|Method summary|Description|
|--------------|-----------|
|log\(String message\)|Logs the given message with a standard prefix to indicate that the message was generated by JavaScript.|
|getConfigParameter\(String parameter name\)|Returns the value of the named configuration parameter.|
|include\(String script include\)|Include the MID Server script include with the given name into the current context.|
|getName\(\)|Returns the name of the MID Server.|
|getSysID\(\)|Returns the sys\_id of the MID Server.|
|toJavaScript\(Object\)|Converts the given Java object into the equivalent JavaScript object.|
This example writes a message to the log:
`ms.log('Attempting to log in with user: ' + this.getParameter('user'));`
**Parent Topic:**[MID Server reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/mid-server/mid-server-reference-information.md)
**Related topics**
[MID Server system requirements]()
[MID Server upgrades]()
[Resolving MID Server issues]()
[MID Server dashboard]()
[MID Server properties]()
[MID Server parameters]()
[MID Server Configuration Parameter settings and priority]()
[MID Server File Cleaner]()
[MID Server protected records and reserved characters]()
[MID Server privileged commands]()
[Manually start, stop, and restart a MID Server]()
[MID Server heartbeat]()
[Set the MID Server JVM memory size]()
[Pause the MID Server]()
| title | MIDSystem methods |
| description | MIDSystem variables \(referred to by the variable name ms.\) provide a variety of methods to get information about the MID Server. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/servicenow-platform/mid-server/r\_MIDSystemMethods.html |
| release | brazil |
| product | MID Server |
| classification | mid-server |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 5 |
| breadcrumb | MID Server referenceMID ServerManage instance data sourcesExtend ServiceNow AI Platform capabilities |