Class Configuration

Class Configuration

By default all classes are preloaded in an inactive state. To sync data to the Service Now CMDB you must activate the classes you wish to send. To view all available classes navigate to Administration → Integration → ServiceNow → Class Configuration. From the ServiceNow Instance dropdown at the top left of the page select the instance of ServiceNow you wish to configure.

The following table shows the details for each column shown in the above table:

Column Name

Description

Notes

Column Name

Description

Notes

Name

ServiceNow Data Class Name

 

Class

ServiceNow CI class name

 

Default

Service Now parent table for the data.

Example of Hosts, cmdb_ci_server is the default (Parent table) highlighed green, cmdb_ci_linux_server is a child table of this highlighted red.

Active

uControl setting for Class active / inactive

Initial default in inactive for all classes

Attributes Mapped

Displays green when attributes are mapped.

Default attributes are mapped during setup.

Class Rules Mapped

Are filters applied to the CI class configuration

Default is no filters applied for parent tables, child tables will have OOTB filters applied.

BMC Kind

The associated node kind from BMC Discovery that will write data into the ServiceNow CI class

 

Activate a ServiceNow class

To start sending data to the Service Now CMDB you will need to activate a class configuration. To do this :

  1. Navigate to Administration → Integration → ServiceNow → Class Configuration. Then select the instance from the ServiceNow Instance dropdown.

  2. Select the class you wish to activate and select “Activate”

Here you can see that the cmdb_ci_server class configuration has been activated.

Configure the atttribute mappings

When the initial setup has run default attribute mappings were compelted. You can however modify these to you requirements.

To remove a default attribute mapping

  1. Navigate to Administration → Integrations → ServiceNow → Class Configuration

  2. Select the Service Now instance from the dropdown

  3. Select the class to configure the attributes and select “Attribute Mapping”

  4. Select the attribute you would like to remove and select the remove button

To Add a new attribute mapping

  1. Navigate to Administration → Integrations → ServiceNow → Class Configuration

  2. Select the Service Now instance from the dropdown

  3. Select the class to configure the attributes and select “Attribute Mapping”

  4. Click the add icon to add a mapping

  5. Select the BMC Attribute (Source) and the Service Now Attribute (Destination) and click “Create”

Class Rules

You will notice that class rules have been automatically setup for child classes as part of the initial setup.

Class rules allow you to filter the device types from BMC Discovery that you wish to send to Service Now. These filters can be positive or negative depending on the requirement. Eg.

Send Only “Oracle Database Server” CI to the cmdb_ci_appl class:

type → Equals → “Oracle Database Server”

Send Only servers with “Prod” in the name to the cmdb_ci_server class:

name → Contains → “Prod”

The following conditions are available for all class rules :

Condition

Condition

Equal

Not Equal

Contains

Doesn’t Contain

Begins With

Ends With

To add a class rule :

  1. Navigate to Administration → Integration → ServiceNow → Class Configuration

  2. Select the class from the table you wish to add a rules to and select “Class Rules”

  3. Select Add to add a rule

  4. Select the source field, the condition and the value.

  5. Select Create.

Once the rule has been created you can test it by selecting “Run Rule”