- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2023 10:42 AM
1) How to restrict 10 characters on catalog Variable?
2) what is CMDB health and how we can manage the CMDB health?
3) How many ways we can push the data in CMDB ?
4) print latest 5 incident what are you created ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2023 12:02 PM
Hi @-ooo- ,
Hope you are doing great.
- To restrict a catalog variable to only accept 10 characters : Edit the variable and find the 'Max Length' field property, Set the value of 'Max Length' to 10 and Save the changes.
- CMDB health refers to the overall condition and accuracy of the Configuration Management Database (CMDB) in ServiceNow.
To manage CMDB health effectively, follow these steps:
- Regularly perform data reconciliation and verification processes to identify and resolve inconsistencies or discrepancies in the CMDB.
- Implement and enforce strict change management policies and processes to ensure that all changes made to the IT infrastructure are accurately reflected in the CMDB.
- Utilize ServiceNow discovery tools to automatically discover and populate the CMDB with accurate and real-time information about IT assets.
- Conduct periodic audits and reviews of the CMDB to identify any outdated or redundant data and take appropriate actions to update or remove such entries.
- Establish governance practices and assign dedicated resources to oversee the CMDB, ensuring its ongoing maintenance and accuracy.
- there are mutilple ways to push the data into CMDB such as Manual data entry, servicenow discovery , integration with web services , Import sets.
- To print the latest five incidents that you have created, you can use below script for reference:
// Query the Incident table to retrieve the latest five incidents created by you
var incidentGr = new GlideRecord('incident');
incidentGr.addQuery('caller_id', gs.getUserID()); // Filter incidents by your user ID
incidentGr.orderByDesc('sys_created_on');
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2023 12:02 PM
Hi @-ooo- ,
Hope you are doing great.
- To restrict a catalog variable to only accept 10 characters : Edit the variable and find the 'Max Length' field property, Set the value of 'Max Length' to 10 and Save the changes.
- CMDB health refers to the overall condition and accuracy of the Configuration Management Database (CMDB) in ServiceNow.
To manage CMDB health effectively, follow these steps:
- Regularly perform data reconciliation and verification processes to identify and resolve inconsistencies or discrepancies in the CMDB.
- Implement and enforce strict change management policies and processes to ensure that all changes made to the IT infrastructure are accurately reflected in the CMDB.
- Utilize ServiceNow discovery tools to automatically discover and populate the CMDB with accurate and real-time information about IT assets.
- Conduct periodic audits and reviews of the CMDB to identify any outdated or redundant data and take appropriate actions to update or remove such entries.
- Establish governance practices and assign dedicated resources to oversee the CMDB, ensuring its ongoing maintenance and accuracy.
- there are mutilple ways to push the data into CMDB such as Manual data entry, servicenow discovery , integration with web services , Import sets.
- To print the latest five incidents that you have created, you can use below script for reference:
// Query the Incident table to retrieve the latest five incidents created by you
var incidentGr = new GlideRecord('incident');
incidentGr.addQuery('caller_id', gs.getUserID()); // Filter incidents by your user ID
incidentGr.orderByDesc('sys_created_on');
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2023 12:30 PM
One more question ?
What is the procedure of rest configuration in integration?