Components installed with Task Intelligence for Customer Service

  • Release version: Australia
  • Updated March 12, 2026
  • 10 minutes to read
  • Several types of components are installed with the Task Intelligence for Customer Service application, including tables, roles, properties, flows, and scheduled jobs.

    Tables

    The Task Intelligence for Customer Service application uses the following tables.

    Table 1. Tables installed with the Task Intelligence for Customer Service application
    Table Description
    ML Solution

    [ml_solution]

    The ML Solution table stores trained machine learning solutions.

    Activating the Task Intelligence for Customer Service application (com.snc.csm_ml_task) creates a record in this table for the pre-trained sentiment analysis machine learning solution: ml_x_snc_global_global_sentiment.

    ML Sentiment

    [ml_sentiment]

    This table stores machine learning sentiment information and includes the following fields:
    • Original sentiment: The sentiment that is predicted when the case is created.
    • Current sentiment: The sentiment that is predicted when the case is updated.
    • Sentiment over time: Displays the sentiment trend prediction as an agent works to resolve the case. To be able to calculate a value for this field, there needs to be a minimum of two sentiment predictions.

      The system uses the following formula used to determine the sentiment trend:

      (currentSentiment - originalSentiment) > 0 ?'improving' :'declining';

    Predictor Result

    [ml_predictor_results]

    This table stores prediction results and feedback for record categorization, sentiment analysis, and language detection. This includes skipped and failed predictions that result from prediction requests.

    For case categorization:
    • The Default confidence and Predicted confidence fields store confidence values returned by the categorization machine learning models.
    • For cases created from email, the Source ID field includes a reference to the sys_email record and the Predicted Table field includes a reference to the sys_email table.
    For sentiment analysis:
    • The default value in the Predicted correctly field for each sentiment prediction is set to true.
    • The Final input value and Final output value fields remain empty because sentiment analysis predictions do not collect feedback from agents.
    For language detection:
    • The Predictor Result table stores the prediction results from the Language Detection Service spoke.
    • The Detected Language field stores the language returned by the Language Detection Services spoke.
    The Predictor Result table includes the Skipped field, which is a true|false field.
    • True: The prediction was skipped.
    • False: The prediction was not skipped.
    For more details about skipped predictions, see Logic for Skipped field values below.
    Note:
    The Predictor Result list includes a filter on the Capability field, which displays results where the capability is Classification. Remove this filter to display all of the prediction results.
    Case

    [sn_customerservice_case]

    The Case table stores customer service case records. This table is the recipient for case categorization predictions.

    The Language field has been added to the Case table. This field is a reference to the Language [sys_language] table. This field is populated with the prediction made by the language detection spoke and stores the language that was used to create the email or case.

    The Case table is added with the Customer Service (com.sn_customerservice) plugin.

    Task

    [task]

    The Task table is one of the core tables provided with the ServiceNow base system.

    The sentiment analysis feature adds the Sentiment column to the Task table. This column is a reference to the Task ML Sentiment [task_ml_sentiment] table.

    Task ML Sentiment

    [task_ml_sentiment]

    This table stores sentiment predictions. The reference to the prediction record is stored in the Sentiment field in the Task table. This table is an extension of the ML Sentiment [ml_sentiment] table.

    The Task column in the Task Sentiment table is a reference to the Task [task] table and is used for domain separation.
    Task Skills

    [task_m2m_skill]

    The Task Skills table stores skills for the Customer Service Management application.

    The language detection feature links language skills to new customer service cases by saving the detected language in the Task Skills table.

    The Task Skills table lists customer service cases and the language skill detected and assigned to each case.

    Table 2. Logic for Skipped field values
    Prediction preference Top 1 prediction Top 3 (at least 1 prediction) Skipped
    Autofill Yes Yes False
    Empty Yes True
    Recommendations Yes Yes False
    Empty Yes False
    Empty Empty True
    Monitor only Yes Yes False
    Empty Yes False
    Empty Empty True
    Prediction unsuccessful NA NA True
    Prediction error NA NA True

    Tables installed with Document Intelligence for Customer Service

    The Document Intelligence for Customer Service application uses the following tables
    Table 3. Tables installed with the Document Intelligence for Customer Service application
    Table Description
    DocIntel Use Case

    [di_task_definition]

    Stores Document Intelligence use cases for the Case table (sn_customerservice_case) or case type tables that extend the Case table.
    DocIntel Task

    [di_task]

    Stores Document Intelligence tasks.

    The is_stp field controls straight through processing. When this field is set to true, straight through processing is enabled for the task.

    The agent_input field is set to true if an agent makes changes to predicted values in the DocIntel tab.
    Note:
    You can track tasks from the ML Solusions table (ml_solution.list​).
    Integration Setup

    [di_integration_setup]

    Stores use case filters that are applied to cases.

    The Target Table field stores the target for the predicted fields, either the Case table (sn_customerservice_case) or a case type table.

    Field

    [di_key]

    Stores the keys to be extracted by Document Intelligence.
    Field Value

    [di_extracted_value]

    Stores the extracted values for the keys in a use case task.

    Roles

    The Task Intelligence for Customer Service application includes the following roles.
    Table 4. Roles installed with Task Intelligence for Customer Service
    Role Description Contains roles
    Task Intelligence admin

    [sn_csm_ml_task.ti_admin]

    Can create, train, and retrain machine learning models. This role can also deploy and delete models.
    • sn_docintel.admin
    • sn_ti_admin.tia_admin
    • sn_customerservice.case_viewer
    Task Intelligence analyst

    [sn_csm_ml_task.ti_analyst]

    Can create, train, and retrain machine learning models.
    • sn_customerservice.case_viewer
    • sn_ti_admin.tia_analyst
    • sn_docintel.manager

    [sn_ti_admin.tia_admin]

    • ml_admin
    • platform_ml_read

    [sn_ti_admin.tia_analyst]

    ml_admin

    [sn_ti_admin.tia_user]

    ml_report_user
    Task sentiment viewer

    [task_ml_sentiment_viewer]

    Provides read access to records in the Task Sentiment [task_ml_sentiment] table if the user has read access to the associated task records.
    This role is added to the following roles:
    • sn_customerservice_agent
    • sn_customerservice.consumer_agent
    Note:
    The sn_docintel.extraction_agent role is added to the customer service agent role (sn_customerservice_agent) and the consumer service agent role (sn_customerservice_consumer_agent).

    Properties

    The Task Intelligence for Customer Service application includes the following properties.

    Table 5. Properties installed with Task Intelligence for Customer Service
    Property Description
    sn_csm_ml_task.logging.verbosity
    The log verbosity for the Task Intelligence for Customer Service application. This property has the following values:
    • error: Show only critical errors which may prevent the search from completing.
    • warn: Show warning which indicates possible unexpected changes in behavior while searching. Also shows errors.
    • info: Show progress messages as the Code Search application searches for results. Also shows errors and warnings.
    • debug: Show information that may be useful while debugging the application. Also shows errors, warnings, and info messages.
    • off: Do not generate logs.

    The default setting is info.

    Categorization properties
    sn_csm_ml_case.case.categorization.mlpredictor.enabled Enables categorization predictions for customer service cases. The default setting is false.
    sn_csm_ml_task.categorization.attachment.max_size Determines the maximum size of an attachment that can be parsed by categorization machine learning models. The maximum supported size is 500kb. The default setting is 450kb.
    sn_csm_ml_task.categorization.allowed_content_types

    Controls the content types and file extensions that are supported by the ML predictor for categorization with attachment.

    By default, the following attachment types can be used with attachment-based case categorization predictions: pdf, xls, xlsx, docx, and csv.

    To configure content types:
    • Leave the property blank to allow all of the supported file extensions. This is the default setting.
    • Create a subset of the default values by entering a comma-separate list of content types and file extensions. For example, application/pdf,text/csv.
    sn_csm_ml_task.categorization.flow_start_time.threshold

    Sets the max waiting threshold for categorization predictions that include attachments. The default value is 10 minutes.

    If the call to the API does not return a prediction before the maximum waiting threshold is reached, predictions are made without the attachment text. These predictions are based on text from the subject and body of the email or the case short description and description.

    sn_csm_ml_task.categorization.case.delay_attachment_fetch Adds a 1-second delay before fetching valid attachments for Task Intelligence when cases are created from email.
    sn_csm_ml_task.case.categorization.enable_inactive_filter Enable this property to remove inactive field choices from predictions. The default setting is false.
    Sentiment analysis properties
    sn_csm_ml_task.case.sentiment.mlpredictor_enabled Enables sentiment predictions for customer service cases. The default setting is false. To enable sentiment predictions, set this property to true.
    Note:
    This property is automatically set to true when a sentiment model is trained and deployed from the Task Intelligence Admin Console.
    Language detection properties
    sn_csm_ml_task.case.language.mlpredictor.enabled
    Enables language detection for customer service cases. The default setting is false. To enable language detection, set this property to true.
    Note:
    This property is automatically set to true when a language detection module is tested and deployed from the Task Intelligence Admin Console.
    sn_csm_customerservice.case.ml.language.detection.threshold

    Controls the threshold for language prediction. The default value for this property is 0.70.

    Predictions with a confidence level greater than the threshold are saved in the Predictor Results (ml_predictor_results_task) table and the Task Skills (task_m2m_skill) table. Predictions with a confidence level less than the threshold are only saved in the Predictor Results (ml_predictor_results_task) table.

    sn_csm_ml_task.case.languagedetection.default_confidence Stores the confidence level threshold for the language detection feature. The default value is 0.7.
    Document Intelligence properties
    sn_csm_ml_task.case.docintel.mlpredictor.enabled Enables Document Intelligence for Customer Service Management.
    Note:
    This property is activated automatically when the user creates a use case.
    sn_csm_ml_task.case.docintel.parsing_supported_types

    Contains a list of the supported attachment types:

    image/png,image/jpeg,application/pdf

    sn_csm_ml_task.straight_through_processing_max_waiting_threshold

    Defines the maximum waiting time for a straight through processing task to finish. The default time is 5 minutes.

    If a use case is configured to use the straight through processing prediction mode, the agent can see the relevant fields on the Case form automatically populated within 5 minutes of case arrival.

    If this threshold is exceeded, the values are skipped. However, the agent can still view the task in the DocIntel tab and manually extract the values.

    sn_csm_ml_task.case.delay_attachment_fetch​ Waits for several milliseconds before fetching valid attachments for Task Intelligence for Customer Service when a case is created from email.
    Note:
    This property is disabled by default. If you notice that attachments are being missed for cases created from email, enable this property.

    Flows

    The Task Intelligence for Customer Service application includes the following flows.
    Table 6. Flows installed with Task Intelligence for Customer Service
    Flow Description
    Task Intelligence Sentiment

    [new_task_intelligence]

    This flow is inactive out of box and is activated after setting up models on the Task Intelligence Admin Console.

    Task Intelligence Sentiment Case Update

    [task_intelligence_case_update_flow]

    This flow is inactive out of box and is activated after setting up models on the Task Intelligence Admin Console.

    Task Intelligence Inbound Email Reply

    [task_intelligence_inbound_email_reply]

    This flow is inactive out of box and is activated after setting up models on the Task Intelligence Admin Console.

    Task Intelligence Case Language Detection

    [task_intelligence_case_language_detection]

    Language detection determines the language used to create a case.

    Depending on configuration, the system can add this value to the Language field on the Case form. This field is a reference to the Language [sys_language] table. It can also add the language as a skill to the Task Skills related list on the Case form.

    This flow is automatically activated when a language detection module is trained and deployed from the Task Intelligence Admin Console.

    Task intelligence - DocIntel at case creation

    This flow is inactive out of box.

    Task Intelligence - DocIntel Process Extracted Values

    This flow is inactive out of box.

    Machine learning models

    The sentiment analysis feature uses the ml_x_snc_global_global_sentiment machine learning model. This model is provided with the Task Intelligence for Customer Service application.

    Scheduled job for categorization solution training

    The system administrator can run the Categorization solution training scheduled job on demand.
    Note:
    It is recommended that you import a training data set to the Case table [sn_customerservice_case] to support the initial training of the Categorization machine learning model. The training data set should be tailored to the Case fields that you want to predict and include additional case records that have the correct labels (i.e., the expected field values) for the specific fields being predicted. By creating this data set, you leverage your own data to train the algorithm to predict on the fields you select.
    The system administrator can set the following parameters before running the scheduled job.
    Table 7. Parameters for Scheduled jobs
    Parameter Description
    trainNewSolution Set to true to train a new solution. Set to false to retrain a solution and add the name of the solution in the existingSolutionName parameter.
    inputFields The fields that are used to train the model. For example:

    ["short_description","description"];

    outputFields The fields to be predicted. For example:

    ["priority","category"];

    encodedQuery The query that is applied to the data used for training.
    existingSolutionName The name of an existing solution. Add a name to this parameter if retraining a solution.

    To determine when a solution is ready to be used for categorization predictions, the system administrator can check the status of the scheduled job. Once the state is Solution Complete, the solution can be used for predictions.

    Scheduled job for publishing previously deployed models

    The system administrator can run the Deploying Task Intelligence for Customer Service Management after upgrading the Task Intelligence for Customer service plugin.

    This scheduled job verifies if there are previously deployed models for record categorization, sentiment analysis, language detection, and Document Intelligence and publishes these models.