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

Brian Bakker
ServiceNow Employee
ServiceNow Employee

@Sky4 

ERR014: ML Object with name null is not found indicates that it is unable to find your solution that you have defined in the flow configuration when invoking the prediction. Can you take a screenshot of this flow config where you are calling the prediction on your solution.

Hi Brian, I've updated the description of the problem a litte, I'm no longer getting the "not found" error after changing the flow context, but the error I've shown in the post above.

Sky4
Tera Contributor

I'm updating the description of the problem a little here based on new observations. The "not found" issue may have had something to do with the flow context. However the issue remains in a slightly different form. When I create a new incident via for instance self-service, I get this error:

Sky4_0-1707920227265.png

Which apparently indicates that no prediction was made, which is also what I see when I test the model directly with this newly created incident. "unable to predict". However, when I test the model or the flow with one of the already existing incidents, everything works, as shown in the original post. 

 

So, any ideas anyone?

So what is the behavior when you Open Incident Table and Submit the Incident ?

what is the Flow Trigger Condition?

 

Regards

RP