Predictive Intelligence and a Flow

Sky4
Tera Contributor

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:

Sky4_0-1707820563036.png

 

Flow execusion context:

Sky4_1-1707820622713.png

 

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!

 

 

11 REPLIES 11

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".

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

RahulPriyadars_0-1707983673428.png

 

Regards

RP

Yes, as mentioned above I have tested directly with the model.

Community Alums
Not applicable

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.classification prediction.png

@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