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

Override the MID Server selection filter

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

Override the MID Server selection filter

You can use the override feature to write your own filter condition that overrides the normal MID Server selection criteria for an application. An override has precedent over the default filter and can be defined for a specific selection condition.

Before you begin

Before attempting to create an override filter, be sure you understand the criteria the platform uses to select MID Servers. See MID Server selection for details.

Role required: admin

About this task

Note: In the London release, the override feature is intended for Cloud Management and Cloud Discovery only. The Override by capability filter is provided by default.
There are four MID Server selection filters included in the base ServiceNow system. These filters are applied to all MID Servers in order until the system finds a matching condition:
  • Status Filter
  • App Filter
  • Capability Filter
  • IP Filter
Important: The override feature allows multiple filter types but only one override filter for each filter type. The Override selector filter type overrides all other filters and takes complete control of the MID Server selection. If this type is active, it is the only filter applied.


  1. Navigate to MID Server > Mid Selector Override.
    The list of MID Server overrides appears.
  2. Click New to create a new filter.
  3. Complete these fields:
    • Name: Unique name for this override. Ensure that you can identify the override type by the name.
    • Script: Condition for this filter. Create the MID Server selection logic for your override in this field, using the directions provided in the function template. Look at the Override by capability filter as an example before starting to create your filter.
    • Type: Type of override being configured. Select one of the four default filters to override with your condition, or select Override selector to create a filter that overrides all the others.
  4. Click Submit.
    MID Server override filter script