OBLYTECH Logo
OBLYTECH Logo

Add a software pattern normalization rule

To add a software pattern normalization rule, use a sam_admin account and open All > Software Asset > Administration > Pattern Normalization Rules. Create a rule that finds the discovered publisher and product text, sets the normalized attributes, and is active. After you create it, use Apply Rule to normalize applicable discovery models right away.

Define the product family before adding a rule

A pattern normalization rule lets many discovery models share one normalization decision. Its value comes from spotting a useful naming pattern across discovered software, so you do not keep a separate mapping for each variation. The normalized fields it sets then feed later SAM work, such as reconciliation and software lifecycle management.

Start by collecting sample discovery models for the product family you want. Record the discovered publisher, product name, and version next to the normalized identity you expect. Include examples that should match and nearby names that should stay separate. Treat this as a review step before you enter the rule, since a product fragment that looks right can also appear in unrelated software.

Decide whether the variations are the same normalized product. Also decide whether they share the edition, version, platform, and language you plan to assign. Similar names alone are weak evidence for assigning a shared version. If the intended group includes different editions, reconsider whether one set of normalized attributes describes it accurately.

For the data flow around this task, see SAM Pro software discovery and normalization. Keep this rule focused on the naming variation you found. Do not use it to compensate for missing inventory collection.

Add a software pattern normalization rule with a defined scope

The role you need to add the rule is sam_admin. For custom products and publishers, create the custom product and company records first. With these target records in place before you set up the mapping, you can tell a missing normalized identity from a problem with matching the discovered text.

  1. Go to All > Software Asset > Administration > Pattern Normalization Rules and create a record.
  2. Enter a unique Name. Pick a name that shows the product family and the scope, so it is easy to spot in later reviews.
  3. Set Discovered publisher contains to the text you want to find in the discovered publisher field.
  4. Set Discovered product contains to the text you want to find in the discovered product field.
  5. Think about Discovered publisher is empty when the discovery models you want have an unknown publisher.
  6. Fill in the Normalized Attributes and check Active when the rule should be active.

Use the two contains fields with care. A broad publisher fragment can cover several product families, and a broad product fragment can cover several publishers. Look at the real strings in your inventory before you pick text. Test ambiguous examples on your instance instead of assuming undocumented matching syntax or an ordering rule between overlapping configurations.

Discovered publisher is empty includes products whose publisher field is empty. Review that group on its own: with no publisher value, the product text has to do more of the work. Do not pick the option just to cover more records.

The labels and behavior here follow the Brazil release. Check the form on your instance and release before you make the change.

Choose normalized attributes that preserve software identity

Under Normalized Attributes, Publisher and Product set the standard identity. Edition and Version add detail about the software. Choose these values from the intended software identity, rather than copying whichever discovered spelling appears first in the sample.

Product type describes the kind of software. The available choices distinguish licensable software from supporting components and other software categories:

  • Child identifies a subcomponent of main software that is not licensable.
  • Driver identifies software that controls a device.
  • Licensable identifies software that is licensable.
  • Not Licensable identifies software that is not licensable.
  • Patch identifies software meant to update, repair, or improve an existing program.

Choose the type from the product’s actual classification. A favorable normalization status does not justify classifying a licensable application as a component. That choice changes the meaning of the normalized record and can obscure the inventory decisions that follow.

Platform offers Windows, macOS, and UNIX. Language offers Dutch, English, French, German, Italian, and Spanish. Review these attributes when the discovered population crosses platforms or languages. A single mapping should give a shared result on purpose, not erase differences that the team still needs.

Keep normalization choices apart from the later reading of software license metrics and suites. A steady product name gives reconciliation clearer input. It does not by itself show who owns an entitlement or pick the right license treatment.

Apply the rule and inspect discovery models

After you create the rule, select the Apply Rule related link when applicable discovery models need to be normalized without waiting. Active is the option that turns the rule on. Before applying it, compare the saved matching fields and target attributes against your reviewed examples.

Inspect the discovery models after you apply it. Software discovery models live in the Software Discovery Model table, whose technical name is cmdb_sam_sw_discovery_model. Review both the discovered values that explain the match and the normalized values that express its result. If you check only the target product, you can miss a wrong edition or version.

Keep a short acceptance record for the change:

  • Identify a discovery model expected to match and record its normalized publisher, product, and relevant attributes.
  • Inspect a similar product that should remain outside the intended family.
  • Check a model with an empty publisher if that option is part of the rule.
  • Compare outcomes across the versions and editions represented in your sample.

You run these review steps yourself, so agree on the expected outcome before you select Apply Rule. Agree on it before you run the rule, so the reviewer can tell a correct broad match from an accidental expansion. The SAM Professional testing and acceptance checklist provides a wider framework for recording acceptance evidence.

For help planning this work, see ServiceNow implementation.

Investigate unexpected results before expanding coverage

If a model stays unresolved, first compare its discovered text with the saved contains values. Check the rule’s Active setting, how you want an empty publisher handled, and the normalized target records. Do not widen the match until you can say why the original sample did not give the result you expected.

Read Normalization status along with the field values. Normalized generally reflects normalization of publisher, product, and version. Partially Normalized reflects publisher and product, while Publisher Normalized reflects the publisher alone. Match Not Found means the normalization process could not match any of the three key fields (publisher, product, version) to a rule in the Software Library. This often happens when no rule exists for the software, such as custom software the organization created. Product type affects this reading. For Not Licensable, Child, Driver, or Patch, a discovery model can be Normalized when publisher and product are discovered. Plan the review with care before you apply a broad rule: discovery models normalized through pattern normalization rules cannot be reverted through the normalization revert capability. Do not build a change plan around a presumed one-click undo. Set the scope and acceptance examples first, and look into a wrong result before you make more changes.

For issues beyond the rule’s matching fields, use the SAM Professional troubleshooting guide to shape the investigation.

Questions about related normalization decisions

How does a discovery model differ from a software model?

A discovery model represents software identified in the environment. A software model stands for a particular software version or configuration that is purchased or made available to users. Many discovery models can relate to one software model when they meet its criteria.

Can I create discovery models manually for testing?

Software discovery models cannot be created manually. Use sample records made by discovery for your review. Keep a separate written list of expected matches and exclusions, so test planning does not rely on made-up discovery model records.

What does a caution icon beside Normalization status mean?

When normalized values differ from package or pattern values, a caution icon shows that a normalization suggestion record exists. Select the icon to open that suggestion. Review the differing attributes before you decide whether the suggested identity fits the discovered software.

Does changing an editable normalized field affect status?

Under certain conditions, fields that are normally read-only can be edited. Editing them changes the discovery model’s status to Manually Normalized. Note that in your review so nobody mistakes a manual fix for evidence that the pattern produced the result.

Is enhanced pattern normalization the same configuration?

Enhanced pattern normalization handles more complex variations in product, edition, and version identifiers, including conditional inclusion and exclusion. Do not take the contains fields on this rule form as proof that those broader matching controls are available here.