Why was no Asset created when a new CMDB CI record was inserted?Issue When a CI is inserted, you expected an Asset record to also be automatically inserted too, but that didn't happen. For more information on this topic, see Create assets manually.ReleaseAnyResolutionNo Model Category exists for the CI Class A Model Category record specific to the CI Class/CI table must exist before any CI to Asset synchronization happens. You may have added a new custom CI Class table to the CMDB, and not created a Model Category yet to go with it. It is also possible that a record did exist originally, but was removed when demo data was cleaned away. Solution: Navigate to Product Catalog -> Product Models -> Model CategoriesSearch for CI Class is the CMDB class/table of the CI record. e.g. Windows Server [cmdb_ci_win_server]If a record does not exist for your record's class, then you can create a new one. Two Model Category records exist for the same CI Class This situation shouldn't happen, but if it has, then the behavior will be based on one or the other record, and which record is used may be inconsistent. It is possible that changes made by Update Sets may cause a duplicate. Solution: Navigate to Product Catalog -> Product Models -> Model CategoriesFilter the list on CI Class IS your record's CI class. If this is the cause, then you will see more than 1 record.Delete all but the correct record. Note: This may have been caused by PRB1300363. See: KB0725633 Unexpected new or Duplicate Model Categories after upgrade to KP11+ or LP3+ or Madrid A Model Category exists, but with no Asset, table entered Even if a Model Category record exists for your CI record's class, the Asset Class field is may be empty. For an asset to be created, either the Asset [alm_asset] table, or one of the several extending tables - e.g. Hardware Asset [alm_hardware] - must be entered Solution: Open the Model Category record as above.Enter the correct Asset Class value, and Save. Click the 'Create Assets' button to add the Asset records for all existing CI records of this CI Class. A Model Category exists, but with the wrong Asset table entered You may add a Server CI, and expect e.g. a Hardware Asset to be created, but you can't find the asset in the Hardware table. It may be that the Model Record has Asset [alm_asset] set instead of Hardware Asset [alm_hardware]. Or Consumable Asset instead of Software Asset. Solution: Open the Model Category record as above.Correct the Asset Class value. The UI may not let you do this.You may also want to update the Class value of some existing records to match the new setting. That is also quite difficult and a bit risky. A Model Category, with an Asset table, but 'Enforce CI verification' is ticked If a Model Category record has the "Enforce CI verification" checkbox ticked, that means the system does not create an Asset when the CI is inserted. Solution: Open the Model Category record as above.Do either of: Untick "Enforce CI verification", and Save, if you want all new CIs in this class from now on to have assets created on insert.Open the specific CI, and click the "Create Asset" button. The Model of the CI is set to "Don't create Assets" Even if a Model Category is set to create Assets, individual Models can be set to override that behavior. Solution: Open the CIClick through to the related ModelCheck the 'Asset tracking strategy' fieldIf the value is "Don't Create Assets" then change it to "Leave to the category"Manually create an Asset record, and link it to the CI before submitting the form The "Create Asset on insert" Business Rule, and dependent "AssetandCI" Script Include maybe Inactive or Customised The code involved in creating an Asset when a CI is inserted is the 'Create Asset on insert' business rule, which in turn uses the "AssetandCI" Script Include. The Business rule may be inactive, or customized, or replaced with a custom version. The Script Include may also have been customized, perhaps a long time ago, so that an old customized version that has been skipped in recent upgrades has now become incompatible with the current platform. Solution: Revert the business rule and script include to the current out-of-box version.Re-implement any customizations using the supported methods, if possible: Model Category settingsModel SettingsAsset-CI Mapping tables - This was a fairly recent feature, allowing custom fields or custom status value choice lists to be taken into account without code changes, meaning most reasons for needing to customize code in the first place are no longer necessary. The Asset is inserted, but values are empty This may be due to ACL rules preventing creating assets, even though the same user can create the CI. Users need to be able to create both if that's how the Model Category is set up. Or this may be a sign of a premature insert, due to an update() happening to the Asset before it has actually been inserted. This may also be due to... Custom code running as part of the CI or Asset insert breaks the insert The "Create Asset on insert" Business Rule runs Before the Insert of the CI. This is so that the CI can be inserted with the reference value to the Asset already there. All other insert Business rules for the insert of both CI and the Asset must run and be completed for the transaction to finish. As part of the asset insert, other records such as Cost Lines will need to be inserted. Custom Business logic, such as Business Rule and workflows, may cause recursion that cancels the transaction, premature or duplicate inserts, transaction time-outs, and many other causes. In these cases, turning on Session debug, and reproducing the problem insert is usually the quickest way to identify the problem.Related LinksFor more information please refer to KB0712445 Why do Assets get created when inserting a CI that has a Model that is set to Don't create Assets?