To troubleshoot ServiceNow discovery issues, first identify whether the failure concerns Virtual Agent topic matching or File-based Discovery. For NLU topics, check language, publication, intent mapping, and access conditions before inspecting prediction records. For file scans, check synchronization, enablement, scan intervals, and the MID Server inclusion list before changing settings.
Start ServiceNow discovery issues troubleshooting with a precise symptom
A missing conversational topic and a missing file scan require different investigations. Record the failing action, the expected result, the observed result, and the time of the test. For a conversation, retain the exact utterance and session language. For a file scan, retain the error text and affected MID Server. These details give the next check a definite target.
The NLU workflow below applies to Virtual Agent topic discovery in the current release. The (Legacy) version of the same official topic, published in the Brazil release, gives the same steps. Check the labels and available settings on your instance and release. If your concern is broader infrastructure discovery, use the ServiceNow Discovery troubleshooting guide to frame that investigation. For the terminology behind the infrastructure workflow, start with what ServiceNow Discovery does.
Keep a short investigation record rather than changing several settings together. Write down which check failed, what you changed, and the result of repeating the original test. This is an operating discipline: it helps separate an observed correction from an assumption about why a problem disappeared.
Check whether the NLU topic is eligible for discovery
When the expected intent is not chosen, begin with the prerequisites that make its topic available. A model prediction is not sufficient by itself: the topic must also be available through its language, mapping, publication, domain, and conditions.
- Check that NLU is enabled for the session language in Natural Language Understanding settings for Virtual Agent.
- Check that the NLU model is trained and published for that language. Recent model changes may not be the changes the topic is using.
- Check that the Virtual Agent topic is published and discoverable, and that it is bound to a published NLU model and intent for the session language.
- Check that the topic uses a single model and intent for that language. Look for duplicate intent bindings to other topics, and verify that the topic, model, and intent share a domain.
- Review roles and conditions on the Properties tab in Virtual Agent Designer. Restrictions there can prevent the topic from being discovered for the affected user.
Compare the failing language with a working language explicitly. A topic can have an English or Spanish mapping without a French mapping. NLU providers also differ in language support. Record the language-specific model and intent together; a working mapping in one language does not establish that another language has the same configuration.
For a Setup Topic, also check its configuration in Conversational Interfaces Chat Settings. Treat that as a separate eligibility check before spending time changing utterances. The investigation should establish that the intended topic can participate in discovery before evaluating whether its prediction is good enough.
Reproduce the failure with topic discovery included
Use a discovery test that exercises the failing utterance. In the Asset library, move the discovery type toggle to NLU/Keyword and select Test NLU/Keyword Topics. Alternatively, open the topic in Virtual Agent Designer, select Test, and select Include topic discovery in the Test window. Enter the utterance and examine the Analysis tab.
Keep the original wording for the first repeat. Rephrasing immediately makes it harder to tell whether a configuration correction solved the original case. Afterward, test additional wording as separate cases and record which topic you expected for each. Distinguish a missing topic from a topic that is offered but rejected by the user.
Where multiple owners are changing language mappings, topic conditions, and discovery configuration, define the acceptance tests before assigning fixes. For help planning this work, see ServiceNow implementation.
Read intent feedback as a sequence of decisions
Enter open_nlu_predict_intent_feedback.list in the navigation filter to inspect Open NLU Predict Intent Feedbacks. The table records the processing used to map predicted intents to Virtual Agent topics. A suggested topic produces a prediction record; when no topic is found, a record marked Skipped is added.
Start with Utterance, Model Display Name, NLU Model Language, Prediction, and Prediction Confidence. Then inspect Mapped, Shown, and Selected. These fields answer different questions: whether the prediction matched an available topic, whether that intent was displayed as a choice, and whether the user selected it. Avoid treating those three decisions as interchangeable.
Auto-Selected indicates that one intent exceeded the prediction threshold and the application chose the matching topic. Read NLU Topic Discovery Outcome alongside that value. Correct records a confirmed single prediction; Correct Among Multiple identifies the user’s choice among several predictions. Incorrect and Incorrect Among Multiple describe different rejection situations.
Use Prediction Audit Log to connect the feedback to Open NLU Predict Logs. Enter open_nlu_predict_log.list to inspect the consolidated request and response, language, duration, and scored intents and entities. Compare the model in the request with the model you intended to test. Keep the evidence tied to one utterance rather than combining unrelated records.
Separate entity failures from intent failures
A topic can be discovered while its input variable remains unfilled. Check the user input node’s NLU entity property in Virtual Agent Designer. An absent association, an entity prediction below the configured confidence threshold, or a value invalid for the entity type can prevent slot filling. For example, a color word is not a valid Date/Time value.
Inspect Open NLU Predict Entity Feedbacks by entering open_nlu_predict_entity_feedback.list. Compare Prediction, Value, Prediction Confidence, Mapped, Mapped to, and Selected. This makes the distinction between a recognized entity and a value actually used by the application visible. Keep the expected variable and expected value in your test notes.
For an external NLU integration, inspect the Open NLU Driver HTTP Connection table. These contain HTTP credentials, connection details, and methods for intents, entities, models, and predictions. Use that evidence when the investigation points to the integration connection, and keep credentials out of the troubleshooting handoff.
Work through File-based Discovery synchronization failures
For the message File Discovery data not yet synced…, allow Content Data Service time to synchronize the samp_file_* tables. Initial synchronization can take approximately 24 hours. Check the timestamps in Data Services: Download Schedules [cds_client_schedule] before deciding that the download has failed.
If File-based Discovery does not trigger, verify its enablement and interval in the Discovery Definition Configuration Console. Then enter discovery_private_properties.list. File_discovery.file_extensions_windows should contain Windows extensions to scan. File_discovery.unix_filename_timestamp and File_discovery_windows_filename.timestamp should show something other than a 1970 timestamp.
A 1970 timestamp indicates that CDS content has not downloaded. In Data Services: Download Schedules, locate records whose Table is samp_file_name, samp_file_map, or samp_file_set. Open each record and select Execute Now. Verify the download in System Logs > Outbound HTTP Requests by checking for Response status 200 on the CDS requests.
For FileDiscoveryFilter errors or a MID Server issue, check for the inclusion list under /agent/work in the MID Server installation folder. Its absence indicates unsuccessful synchronization. Review the MID Server record and errors from the GetMIDInfo scripted soap service. Select the File discovery filter refresh Related Link to synchronize file names to that MID Server.
Keep this investigation distinct from changes to SNMP configuration or pattern authoring. Use the SNMP probes and credentials guide or Pattern Designer validation guide when those are the actual subject of a separate issue. Avoid expanding a synchronization repair into unrelated configuration changes.
Questions about discovery edge cases
Why does a conversation return to the earlier topic after switching?
Resume topic flow after topic switching controls this behavior. It is on the Properties tab under Advanced properties > Additional. Enabled resumes the earlier topic; disabled prevents that return.
Does a failed mid-topic intent match trigger a keyword search?
No. Virtual Agent does not use a keyword search when it fails to find an intent during mid-topic switching. Include that behavior in the expected result for a switching test.
Do variables carry between topics during switching?
Topic A’s variables are unavailable to Topic B after switching. Topic B’s variables are also unavailable to Topic A when it resumes. Plan the expected inputs for each topic independently.
Is an empty file Version field on Linux a failed scan?
An empty Version field in File Information [cmdb_file_information] is expected for Linux and UNIX files, because the field is currently populated for Windows files only. Keep this as a check on the field, not as evidence of a failed scan.
Which outcome identifies a user who entered new wording at the topic menu?
Skipped with New Utterance identifies that case. Exited with no confirmation identifies a different interaction: the user left without confirming. Preserve that distinction when classifying test results.