CMDB CI Class Manager under the attribute I need to apply Make the field mandatory

jaiho_rai
Kilo Sage

CMDB CI Class Manager under the attribute I need to apply Make the field mandatory

 

Navigate > CI class Manager > Hirerachy > > open any class > attribute > tabs will be there "ALL" "Derived" and "ADDED"

 

How to make attribute mandatory under these column , because correct me if I am wrong, these data will be utilized on --> CMDB Health Dashboard 

4 REPLIES 4

Selva Arun
Mega Sage
Mega Sage

Hi,

 

Have you gone through the prod document below,

Set a CI attribute to be mandatory

To make an attribute mandatory in the CMDB CI Class Manager, you can follow the steps outlined in the documentation. Here's how you can do it:

Steps to Make an Attribute Mandatory:

  1. Navigate to CI Class Manager:

    • Go to All > Configuration > CI Class Manager.
  2. Select Hierarchy:

    • In the CI Class Manager, select Hierarchy to display the list of CI Classes.
  3. Choose the CI Class:

    • Select the class that contains the field/attribute you want to set as mandatory.
  4. Open the Class Info:

    • In the Class Info section of the navigation bar, expand it, and then select Attributes.
  5. Access the 'Added' Tab:

    • Within the Attributes section, click on the Added tab.
  6. Set Attribute as Mandatory:

    • Locate the attribute you wish to make mandatory.
    • Double-click the Mandatory value for that attribute.
    • Change it to true.
  7. Save the Changes:

    • Once the Mandatory value is set to true, the attribute will now be marked as mandatory.

Impact on CMDB Health Dashboard:

  • If the Required metric in the CMDB Health KPI is enabled, the system will now check whether the mandatory attribute is populated or not.
  • The CMDB Health dashboard will display an aggregated report that shows the percentage of CIs where one or more required fields are empty.
  • Mandatory fields are enforced globally across all forms, meaning the attribute will be considered mandatory wherever it appears.

Important Notes:

  • Role Required: To make changes to mandatory attributes, you need the itil_admin role.
  • Global Mandatory Fields: Once set as mandatory, the field will appear as mandatory everywhere it is used.
  • Service Mapping: Note that mandatory fields may not display correctly when using Service Mapping tag-based discovery.

This will ensure that the attribute is treated as mandatory across the system, and the CMDB Health dashboard will properly reflect any missing mandatory data.

 

If you believe the solution provided has adequately addressed your query, could you please **mark it as 'Helpful'** and **'Accept it as a Solution'**? This will help other community members who might have the same question find the answer more easily.

 

Thank you for your consideration.

Selva



 

Thank you for sharing the details,

The question arises in mind if we apply only for a particular table, as per shared details, correct me if I am wrong—I am not a pro in CMDB. But if I apply to one class, then it will apply to all but our requirement is apply only to particular ones.

Another part of the question states that where we can see these changes other than in the CI Class Manager, they will apply to the table and form for a particular class or it apply to all extended table.

 

 

 

 

If the attribute is derived from a parent table and you do NOT want to set that attribute as required on the parent class

Is below the right approach to apply:

ALL sub classes Create a dictionary override and override the Mandatory field for only the table in question.

Hi @jaiho_rai 

 

Yes correct, Create a dictionary override. 

 

If you want to see the if its effecting other tables 

 

Navigate to sys_dictionary.LIST

Search column you have create see the classes. 

 

Mark it helpful and Accept Solution!! If it helps you to understand. 

jaiho_rai
Kilo Sage

^(?=(.*[A-Za-z]){2,})(?=.*\d).+$