To confirm spend category solutions, a user with the ml_admin or admin role checks two similarity solutions, Spend Category by PRL and Spend Category by POL, plus the AI Search configuration for spend categories. Each solution needs a completed, trained version, the configuration must be published, and the product category solutions must already be active.
Why spend category checks depend on product category
Spend category prediction is the second step in a chain. The Spend categorization agent predicts the spend category after it has predicted the product category, so the classification solutions for product category prediction have to be confirmed and active first. If that prerequisite is missing, the spend category check has no earlier result to build on. Go back and confirm the product category solutions before you continue.
Spend category prediction draws on two kinds of material. The first is a set of machine learning similarity solutions. Each one finds spend categories by looking at similar purchase lines and at the mappings that tie product categories to spend categories. The second is a retrieval configuration built on AI Search, which provides the semantic retrieval that spend category prediction relies on. The readiness check covers both parts, because the solutions and the retrieval configuration are confirmed together.
The solutions do not pick from a fixed set of classes. They predict from similar past purchase lines and taxonomy mappings, and that changes what a healthy setup looks like. A solution with no completed, trained version is not available to generate predictions, so it cannot be treated as ready just because it appears in the list. Train it first, then move on.
If you are still working out how spend records reach the system, the guidance on creating a spend transaction manually explains how to enter a spend record by hand. That is one way to put test lines into the system before you check how the solutions handle them.
Finding the spend category solutions in the solutions list
The role required for these checks is ml_admin or admin. Start by opening the list of machine learning solutions. Menu paths change between releases, so confirm the path on your own release before you follow these steps.
On the Brazil and Australia releases, the list opens from All, then Predictive Intelligence, then Similarity, then Solution Definitions. On the Zurich release, it opens from All, then Predictive Intelligence, then Solutions. Either path leads to the same two solutions.
Locate Spend Category by PRL and Spend Category by POL by name. The PRL solution works from purchase request lines. The POL solution works from purchase order lines. The two solutions perform the same kind of prediction on different line types, so keep them together in your check rather than treating one as the whole picture.
Confirming each solution is trained and active
Work through the two solutions in this order. Each step is a status check, and the first failure tells you what to fix before anything downstream can work.
- Open Spend Category by PRL and confirm that its status shows a completed, trained version.
- If no trained version exists, train the solution, and do not move on until training has completed.
- Open Spend Category by POL and confirm that it is trained and active.
- If it shows no trained version, train it the same way and recheck its status before you continue.
Check both solutions even if your team sends more of one line type than the other. Each solution is a separate source of predictions, and the check is complete only when both show a trained version.
Confirming the AI Search configuration is published
The retrieval configuration for spend categories is an AI Search configuration. It provides the semantic retrieval that the spend category solutions rely on, so it belongs in the readiness check rather than in a separate task you can leave for later. Confirm that this configuration is published. If it is not, publish it before you review any test output, because the readiness check is not complete until the configuration is in place.
For the wider source-to-pay context around spend, see spend and savings management. That area covers the business side of spend, while this check concerns the machine learning side that predicts categories for each line.
Testing predictions before you activate the agent
Once the two solutions and the configuration are in place, review the prediction results or test output for each solution. A ready solution returns spend category predictions with confidence scores. You are checking that each solution returns a prediction at all, with a score attached, before you rely on it for live lines.
Both prediction skills are inactive by default, so they stay off until you set them to active in AI Admin Hub. Keep the order fixed. Confirm the prerequisites, review each solution’s output, and then activate the Product category predictor and Spend category predictor skills and the agent. Do not switch anything on early, even if the output of one solution already looks good.
A common mistake is to test against a handful of lines and treat the output as representative. A small sample can hide gaps in one line type, so review the output for both PRL and POL before you decide the setup is ready. For help planning this work, see ServiceNow implementation.
Recording the readiness check
Keep a short record of each readiness check. Note the release you checked, the date, the person who ran the check, and the status you saw for each of the two solutions. Add whether the AI Search configuration was published and a few of the test outputs you reviewed. A record like this helps when someone later asks why the agent was switched on, or why it was switched off again, and it saves you from reconstructing the state of the setup from memory.
Write the record during the check, not afterwards, so it shows the state of the setup at the moment the activation decision was made. Put it where the person who approves activation will see it.
Common mistakes in the spend category check
- Activating the agent while one of the two solutions still has no trained version.
- Checking the two solutions and skipping the AI Search configuration, which spend category prediction relies on for semantic retrieval.
- Focusing on the PRL solution because purchase requests are the first line type people think of, and skipping the POL solution.
- Reading a confidence score as proof that the category is correct, when the score is only compared against the confidence threshold that decides whether the Spend category predictor skill steps in with a suggestion.
- Running the readiness check before the product category solutions are confirmed, then having to repeat the spend category steps once the prerequisite is in place.
Questions about spend category solution readiness
Can spend category checks run before the product category solutions are active?
No. The product category classification solutions must be confirmed and active first, because the agent predicts the spend category after the product category. Confirm those solutions, then return to the spend category steps and work through them in order.
Can you test spend category output before the agent is activated?
Yes. Review the prediction results or test output for each solution before you activate the related skills or the agent. Use that review as the final gate before switching anything on.
What does a confidence score on a prediction tell you?
The score is what the primary prediction is measured against. When a prediction does not meet the confidence threshold, the Spend category predictor skill suggests an appropriate spend category for the fulfiller instead. The threshold is one of the system properties you confirm during activation, so check it there. A score that clears the threshold still needs a check against the line itself, because it does not confirm that the category is right.
What should you check first when spend predictions look wrong?
Start with the product category step, because the spend category is predicted from it. Then check that both spend category solutions have a completed, trained version and that the AI Search configuration is published. Work down the list in that order, because each step depends on the one before it.
What is the state of the setup once all checks pass?
The two solutions and the retrieval configuration are then active and ready to support predictions from the Spend categorization agent. At that point you can activate the related skills and the agent. Tracking AI spend is a separate topic from this check, and the guidance on AI cost management and spend tracking covers that subject.