Multiple entries in Predictor Results table for the same Change Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2023 10:57 AM
We have observed that multiple entries have been created in the Predictor Results table (ml_predictor_results) for the same Source ID record (e.g., Change Request record). In one case, we have 137 predictor result records associated with the same source record. Can anyone explain what is triggering all of these records?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2023 06:32 AM
Hello Jerome11,
Are these 137 predictor results on a single Change Request record all from the same Solution? If so, how do you trigger the prediction for this solution? Is the date/time stamp the same or relatively close to each other for these 137 predictor results, or are they spread across a number of days/weeks? Out-of-box, we use a Before Insert business rule, so that the prediction is only triggered once before the new record is inserted for a Classification solution. If you are triggering the prediction in a Script Include, please ensure it only gets triggered once, and not every time the Change Request is updated. If it is a Similarity solution, then it will create an entry in table [ml_predictor_results] each time the Similarity solution is invoked on the Change Request record.
Best regards,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2023 07:22 AM
Hello Brian,
In the case of 137 results, many are created a few seconds apart. It also appears that many have "duplicate" create timestamps - many cases two at a time but sometime 4 with the same create time.
At this time we are working in a sub-prod instance as we have not activated PI in prod. We only have "Update Prediction Results" BR against Incident table active. We have a BR on the change table for PI Workbench but we do not have any integrated models at this time. We haven't created any script includes to trigger predictions. And we are only have a Classification solution active.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2023 08:26 AM
Hello Jerome11,
Apologies for the delayed response. If using Predictive Intelligence Workbench, then it will automatically create the triggers when you click on the "Integrate" button. Further details in our
Predictive Intelligence Workbench integration and customization documentation.
I suggest you raise a case with ServiceNow Technical Support, if the prediction continues to be triggered multiple times on the same record, so that we can investigate further to determine the root cause.
Best regards,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2023 10:00 AM
Thank you for your follow-up, Brian. I will monitor and contact ServiceNow Support