Catalog Request For Manual CI

praswethas
Tera Contributor

Using the service catalog and maintain items module to create a manual CI from service portal and after the request is created per class it should route to the specific manager. Example: if user selects windows class in the service portal,  CI request should be approved by windows manager. How can we select specific class while selecting the CI in the service portal, is it possible to select specific class as a drop down in the from the variable and to send the request to specific manager

2 REPLIES 2

Tanushree Maiti
Kilo Patron

Creating a manual Configuration Item (CI) via the Service Catalog is a feasible but non-standard approach that requires careful implementation to avoid CMDB data quality issues. 

 

It is recommended only if specific governance is in place:
  • Governance First: Consult your CMDB owner to ensure this aligns with your asset and configuration management processes.
  • Avoid Duplicates: Manual entry often leads to duplicate CIs. It is recommended to use the Identification and Reconciliation Engine (IRE) within your workflow to prevent duplicates before inserting the record.
  • Record Producer vs. Catalog Item: Use a Record Producer if you want to map variables directly to the CI table

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Joseph Lighthal
Tera Contributor

If using a catalog item you want to make sure not to avoid rules set by IRE. You can use this code snippet in a script within a Flow or workflow to make sure the IRE runs.

// Example: Using the IRE to process a manual update
var payload = {
    items: [{
        className: 'cmdb_ci_linux_server', // Replace with your table
        values: {
            name: fd_data.trigger.request_item.variables.ci_name,
            location: fd_data.trigger.request_item.variables.new_location
        }
    }]
};

var input = JSON.stringify(payload);
var output = sn_cmdb.IdentificationEngine.createOrUpdateCIEnhanced('Manual Entry', input);