---
sourceDocument: Brazil Governance, Risk, and Compliance
sourceDocumentLink: https://www.servicenow.com/docs/r/governance-risk-compliance

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Governance, Risk, and Compliance

ft:clusterId :

    - grc

bundleId :

    - grc

workflow :

    - Technology


---

# Entity class rules

# Entity class rules {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Entity class rules

Entity class rules in ServiceNow enable automatic assignment of classes to entities at the table level.
When a new entity is created for a table, it inherits the entity class specified by the associated rule.
This classification helps organize and tag entities systematically, ensuring consistent categorization across records.
Show full answer Show less  

## Key Features

* **Automatic Class Assignment:** Entities created on a table automatically receive the entity class linked to that table via the entity class rule.
* **Entity Class Rule Filters:** Additional filters allow associating different classes to records within the same table, overcoming the previous limitation of one class per table record.
* **Filter Priority and Conditions:** Filters use priorities and conditions to determine which subclass is assigned to an entity. Only subclasses meeting the filter conditions are displayed on the entity form.
* **Workspace Integration:** Entity class rules are accessible under the "Lists" section in the workspace, with details shown on the Details tab including the table, class, and filter criteria.

## How It Works

Using entity class rules and their filters, you can define complex logic for entity classification. For example, in the `cmdbcilinuxserver` table:

* If a record matches a specific filter condition, the corresponding subclass (e.g., Department) is assigned.
* If it matches another filter condition (e.g., names starting with "lnux"), a different subclass (e.g., Application) is assigned.
* If no filter conditions are met, the parent class (e.g., Linux Server) is assigned by default.

## Practical Application for ServiceNow Customers

ServiceNow customers can leverage entity class rules to automate and refine entity classification in their CMDB or other tables. By creating rules and filters, you ensure entities are tagged accurately based on specific criteria, improving data organization and facilitating better reporting and management.

## Next Steps

* **Create Entity Class Rules:** Define new rules associating entity classes with specific tables to automate class assignment.
* **Configure Entity Class Rule Filters:** Add filters with priorities and conditions to assign subclasses within the same table, enhancing granularity.
* **Review and Manage Rules:** Use the workspace view to monitor and update entity class rules and their filters as your classification needs evolve.  
Entity class rules help to assign classes to the entities at the table level. Any new entity created on the table gets that entity class automatically. Entity classes are used to tag your entities.

When you create an entity for a table, the class associated with that table automatically gets assigned to the entity. You can set a new rule for the entity class. Entity class rules provide the categories of the entities at the
class level. The Entity class rules option is displayed under Lists in the workspace view. Click an Entity class rule to display its details.  
The Details tab in the Entity class rules form displays the following information:{#entity-class-rules-in-risk-ws__table_b22_ynv_lqb__entry__2}

| Field | Description |
|-|-|
| Table | Name of the table that the entity class is associated with after creating an entity class rule. |
| Class | Name of the entity class to be associated with the table that uses the new entity class rule. |
[Table 1. Details tab in the Entity class rules page]

{#entity-class-rules-in-risk-ws__table_b22_ynv_lqb}

## Entity class rule filter {#entity-class-rules-in-risk-ws__section_tjq_f31_g5b}

Entity class rule filter is added in the entity class rule page to provide additional filters. Earlier, records of a table can be associated to only one entity class.
Using the entity class rule filter,
you can associate different classes to the records of the same table.  
The Entity class rule filter table displays the following information:{#entity-class-rules-in-risk-ws__table_yfz_jhh_g5b__entry__2}

| Field | Description |
|-|-|
| Filter Priority | Filter priority is the range for the subclass. The class is populated in the entity form based on the priority given. |
| Subclass | Subclass is the child class of the parent class that is displayed in the details tab of entity class rules. |
| Filter Condition | Filter Condition is used to filter out the records of the table that defines the entity class rule. For example, if there are two subclasses with different condition then the parent class is populated instead of the subclasses. Note: The subclasses are displayed in the entity forms only if they meet the same filter condition. |
[Table 2. Entity class rule filter]

{#entity-class-rules-in-risk-ws__table_yfz_jhh_g5b}

## Logic for assigning entity classes {#entity-class-rules-in-risk-ws__section_zkc_mbs_h5b}

Assume that there is a record in the cmdb_ci_linux_server table and an entity class rule associated to this table. The entity class rule has these class rule filters:
Figure 1. Entity class rule

Scenario 1: If the entity's source record belongs to the cmdb_ci_linux_server table and matches all the conditions of the second filter, then the entity's class is auto-populated as sub class,
Department.

Scenario 2: If the entity's source record belongs to the cmdb_ci_linux_server table and its name starts with lnux (satisfies both the filters), then the sub class Application is
auto-populated as an entity class.

Scenario 3: If the entity's source record doesn't satisfy any of the class rule filters, then the class Linux Server is auto-populated as an entity class.
* **[Create an entity class rule](https://www.servicenow.com/docs/eGiPqmGmMoLxT_IGOXy0Qg)**   
  Create a rule for an entity class. Entity class rules provide the classification of the entities at the class level. You can create a new entity class rule for an entity class that is associated with a table. After creating the new entity class rule, the Entity class rules table is updated with the new record.
* **[Create an entity class rule filter](https://www.servicenow.com/docs/_~kV_H0iUxYIUgNWbJpJEA)**   
  You can create an entity class rule filter to assign classes at the filter level on the same table that is defined on the class rule.

