- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 08:13 AM
Predictive Intelligence normally runs after insert/update using business rules. We are bringing this forward to the Service Portal form or on the incident form using client scripts. We are using the MLPredictor API:
var MLP = new MLPredictor();
var solution = MLP.findActiveSolution(solutionName);
var predictedOutcome = solution.predictText(solutionInput);
var outcome = predictedOutcome.predictedValue();
var confidence = predictedOutcome.confidence();
This seems to be deprecated in Orlando and is not generating data for the prediction reports.
Is there any API available that we can use to predict the value client side?
Solved! Go to Solution.
- Labels:
-
Predictive Intelligence

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 08:19 AM
You can call predictive intelligence REST API from server script of your service portal widget.
Check below for this REST API and it's usage
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 08:19 AM
You can call predictive intelligence REST API from server script of your service portal widget.
Check below for this REST API and it's usage
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:11 AM
Updated URL for the PI Rest Message Documentation:
Kind Regards,
Ashley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2020 01:40 AM
Hi Wouter,
I have the same requirement. I need to show the prediction on change of short description field in Incident form in ITIL view and in Portal view. I have tried to create client script and script includes. But didnt get the solution.
Kindly help me.
Regards,
Surya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2021 10:54 AM
Hello,
I have the same requirement for predictive intelligence. I am trying to populate assignment group based on change of short description. It works in a business rule. How do I do it on incident form using client script?
Thanks