Create an identification rule for a non-CMDB table
To use Identification and Reconciliation Engine (IRE) features with supported non-CMDB tables, you must first create identification rules that uniquely identify the table records. Each non-CMDB table can be associated with a single identification rule.
Avant de commencer
Role required: sn_cmdb_editor and itil have read access, sn_cmdb_admin and itil_admin (on top) have full access
Pourquoi et quand exécuter cette tâche
Each identification rule consists of a single identifier for the table, one or more identifier entries, and one or more related entries.
- Regular identifier entry
- Lets you select attributes from the associated identifier table.
- Lookup identifier entry
- Lets you select attributes from any related table (Lookup table), other than the currently selected table.
- Hybrid identifier entry
- Lets you select attributes from both the currently main selected table, and from another table (Lookup table).
For non-CMDB tables, only independent identification rules are supported.
Procédure
Que faire ensuite
To add criterion attributes to a Hybrid Entry CI Criterion Attributes field in a hybrid identifier entry, instead of using the Identifier Entry form, you must use background scripts. After saving the identification rule, navigate to , and then enter a script that adds the attributes and click Run script.
var gr = new GlideRecord('cmdb_identifier_entry');
// get the identifier entry you want to update
gr.get('<identifier_entry_sys_id>');
// set the attributes you want in the hybrid rule in a comma separated list
// for example: 'name,serial_number'
gr. hybrid_entry_ci_criterion_attributes='<column_name_1>,<column_name_2>,<etc.>';
gr.update();This process requires the admin role.