Predictive Intelligence and a Flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2024 02:38 AM
I'm using a classification definition to predict the Supporting Service of all incidents newly opened via email or self-service. I'm also using a Flow to get this prediction and assign the Supporting Service for the incident accordingly. When I test the Flow within Flow Designer, everything seems to work perfectly fine. However when I create a new incident, for instance via self-service, it appears that my model returns an error. I'm also using the exact same incident to do the test inside Flow Designer, so I'm really baffled. Here's what I see in the test results / flow context when I look at the outcome of the classification prediction action:
Test result:
Flow execusion context:
Can anyone tell me how it is that I get these two different outcomes, even though it's the exact same incident? I'd really appreciate any tips!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2024 11:28 PM
The flow triggers only every time a new incident is opened thorugh channels email or self-service. If I use a record of an incident that has been previously opened and directly test the flow with it, everything works as expected. If I open a new identical incident thorough either of the channels, I get an "unable to predict".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2024 11:54 PM
Did you tried this test- Incident is Created using ur Defined Channel.
Copy the Input Parameter from ur Incident and test the model using - Solution Record
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 12:24 AM
Yes, as mentioned above I have tested directly with the model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 06:34 AM
Hi,
Have you been able to find a solution for this error? I have same exact problem.
My solution deffinition works correctly while testing, but somehow Flow won't update record.
What is more interesting it works correctly on TEST env., but on PROD I get same '404' error, as you shown on attached screen.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2024 06:19 AM
@Community Alums
It is throwing the 404: Prediction Failed error, because in general, it is unable to find the trained solution record. To fix this, you will need to select a valid ml_solution record in the Flow Designer for this flow on all flow actions that are making a prediction to ensure it is pointing to a valid ml_solution record.
I hope this helps.
Regards,
Brian