Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Add a MID Server parameter

Log in to subscribe to topics and get notified when content changes.

Add a MID Server parameter

Use a MID Server parameter to control the behavior of a particular MID Server. You modify MID Server parameters in the Configuration Parameters related list in the MID Server record and in the config.xml file in the \agent directory of your MID Server installation.

Before you begin

Role required: admin


  1. Navigate to MID Server > Servers.
  2. From the list of MID Servers, select a MID Server to configure.
  3. Select the Configuration Parameters related list.

    This related list shows all the parameters currently in the MID Server 's configuration file. If there are any passwords, they are displayed in asterisks for security reasons.

    Figure 1. Defining MID Server configuration parameters

    Defining MID Server configuration parameters
  4. To add parameters, click New, and then complete the form.
    After the form is submitted, the configuration file for that MID Server is modified to include the new parameter. Changes to existing parameters are reflected in the MID Server configuration file as well. Changes made to the MID Server configuration file do not take place immediately, but rather the next time the MID Server is restarted. The MID Server form has a related link for restarting the MID Server.
    Note: ServiceNow prevents you from saving changes, such as modifying or deleting parameters, that would cause the MID Server to lose communications with the instance. For example, you cannot change the url parameter. Any changes to these protected properties must be made directly in the config.xml file for that MID Server.

    Setting Parameters from the config.xml File

    MID Server configuration is controlled by an XML file called config.xml. This file is located in the \agent directory, immediately under the directory where the MID Server is installed. Edit this file directly to make any configuration changes to protected parameters. Many configuration changes, such as those that do not disrupt communication between the MID Server and the ServiceNow instance, may also be made from the instance.

    The structure of the config.xml file is simply an outer parameters tag and a series of inner parameter tags. Each parameter tag has name and value attributes.
    • To change the value of a parameter, edit the value attribute.
    • To add a parameter, add another parameter tag with its name and value.
    • To delete a parameter, delete the entire parameter tag.
    The order of the parameters within the file is not important. Notice the green comment sections in the sample. Use these elements to add useful comments to the configuration file.
    Note: When configuring the MID Server for use with a proxy server, be sure to remove the comment tags around the proxy sections that you configure.
    Figure 2. MID Server config.xml file

    MID Server config.xml file
    Note: The sample file here is from a Firefox browser. Conventional text editors, such as Notepad, WordPad, or TextEdit, do not display colors and variable fonts.