- 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
07-12-2024 09:46 AM
Hello!
Did you ever figure out how to do this?
Thank you for your help 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 12:58 AM
We implemented a UI action and a script include from there, seems from client script we can't call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 04:01 AM
Hi, @purelife , @suryamol_s ,
Did you get a solution for this ?
Would be grateful if you have any suggestions on this
with regards
Harsha Pappala