---
sourceDocument: Brazil Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/now-intelligence

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# Categorization rule form

# Categorization rule form in Task Mining {#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 Categorization rule form in Task Mining

The Categorization rule form in Task Mining enables you to organize and add meaningful context to workstation activity data by grouping similar activities under user-friendly category names.
This structured categorization simplifies the analysis of app and window usage by applying rules that determine how these activities appear in reports and dashboards.
Show full answer Show less  

## How Categorization Rules Work

Each categorization rule has a fixed rank order that controls the sequence in which rules are applied to workstation activities. You create rules by defining conditions based on specific fields such as Application Name, Window Name, and URL. These conditions combine fields, operators, and values using logical operators (and/or), allowing precise filtering of activities.

## Key Fields and Operators for Conditions

* **Application Name:** Matches the executable file name of the app (e.g., ms-teams.exe).
* **Window Name:** Matches the window title captured during the activity.
* **URL:** Matches the URL involved in the activity.

Operators include Equals, Contains, Starts with, and Ends with, enabling flexible matching criteria for activity data.

## Rule Configuration Parameters

* **Rank:** Determines the priority order of rule application, with lower numbers applying first. This is a required field.
* **Activity:** Specifies how the activity is classified in dashboards, such as Productive (work-related), Nonproductive (private mode or private activities), Break (workstation locked), Off (workstation off), or Idle (user inactive during targeted recordings). This is required.
* **Category:** Defines the type of work related to the application. This is required and should avoid using the "Other" category since it is reserved for uncategorized apps and excluded from dashboards by default.
* **Application:** A user-friendly application name associated with a single category to maintain clarity. This is required.
* **Window Name:** Optional descriptive name for the activity, which can also be used to mask personally identifiable information (PII) by replacing sensitive data with bracketed terms. If left empty, the original window name from the workstation is used.

## Benefits for ServiceNow Customers

By using categorization rules effectively, ServiceNow customers can:

* Improve the clarity and usefulness of Task Mining dashboards by grouping related activities.
* Distinguish productive work from nonproductive or break times to gain better insights into workforce behavior.
* Protect sensitive information by masking window names when necessary.
* Ensure consistent and prioritized application of rules for accurate data categorization.

This structured approach to categorizing workstation activities enhances the value of Task Mining insights and supports informed decision-making on work patterns and productivity.  
Organize and add context to your data by grouping similar workstation activities with user-friendly category names. Categorization rules have a fixed order value that determines how information from apps and windows is shown on
an analysis.
For information about categorization, see [Categorize workstation activities to simplify analysis](https://servicenow-prod.fluidtopics.net/PnHVwcrPaFDMtUP5~mkpNw "Organize and add context to your data by grouping similar workstation activities with user-friendly category names.").

You build the conditions for a rule in the Conditions section of the Create rule or Edit rule panel. A condition is a combination of a field, an operator, and a
value. Combine conditions with and and or logic, and apply more than one condition to the same field.
{#categorization-rules__table_w2w_5ch_jkc__entry__2}

| Field | Description |
|-|-|
| Application Name | Matches the file name of the application, for example, ms-teams.exe. |
| Window Name | Matches the window title captured for the activity. |
| URL | Matches the URL captured for the activity. |
[Table 1. Condition fields]

{#categorization-rules__table_w2w_5ch_jkc} {#categorization-rules__table_x2w_5ch_jkc__entry__2}

| Operator | Description |
|-|-|
| Equals | The activity value matches the entered value exactly. |
| Contains | The activity value contains the entered value anywhere in the text. |
| Starts with | The activity value begins with the entered value. |
| Ends with | The activity value ends with the entered value. |
[Table 2. Operators]

{#categorization-rules__table_x2w_5ch_jkc} {#categorization-rules__table_y2k_vdx_tcc__entry__2}

| Field | Description |
|-|-|
| Rank | Order that determines when the rule applies relative to other rules. A lower rank applies first. Required. |
| Activity | Determines how usage of apps and windows is shown on dashboards. Defines whether the activity is work related or other. Required. The available options are: * Productive: Used for work applications. Leave the Activity as Productive for most work. * Nonproductive: Used when the agent is in private mode or when activities are defined as private. * Break: Used when the workstation is locked. * Off: Used when the workstation is turned off. * Idle: Used for time recorded during targeted recordings when the agent is running but the workstation is inactive. {#categorization-rules__ul_vc3_kbn_52c} |
| Category | The type of work that the application is related to. Required. Don't use the Other category. The Other category is used by the MAX rule and represents uncategorized apps that don't match any rule. By default, this uncategorized activities don't appear in dashboards. |
| Application | An intuitive name for the application. Required. An application name should be associated with only one category to keep the data clear. |
| Window name | A name to describe the activity. Optional. A value can be used to mask PII. For example, you can use \[\] to mask and replace with the term used in brackets. If this field is empty, the window name from the workstation is used. |
[Table 3. Rule categories]

{#categorization-rules__table_y2k_vdx_tcc}

