- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2020 10:09 PM
Hello,
I have a requirement to add the active true configuration items as related list, can anyone suggest me how to achieve this as i am very new to servicenow.
Quick help would be appreciated!!!
Regards,
Teju
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2020 10:22 PM
Hey Tejaswini,
If you are working on the tables which is already available in ServiceNow then you can just Right Click on banner and go to Configure>Related List and add Configuration Item.
If you need to filter out only available CI's then you need to create Defined Related List.
For Incident table or any other ServiceNow table you can create a Defined Related List and to filter only active CI's use code: current.addQuery('active','true');
But if you are working on custom table then you need to create Relationships (Defined Related List).
- Navigate to System Definition>Relationships
- Click New
- Name the Relationship and Select your table in Applies To table field.
- In Queries form table enter the table you want as in Related List in your table which is CMDB_CI.
- You can also put some condition as script as: current.addQuery('active','true'); (Shows only active CI's)
- Now save it and go to your table and Right Click on banner and go to Configure>Related List. Here you will be able to see your relationship name just add it and save it.
If i was able to help you out then please mark my answer Helpful as well as Correct.
Thanks and Regards:
Utpal Dutta

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2020 10:22 PM
Hey Tejaswini,
If you are working on the tables which is already available in ServiceNow then you can just Right Click on banner and go to Configure>Related List and add Configuration Item.
If you need to filter out only available CI's then you need to create Defined Related List.
For Incident table or any other ServiceNow table you can create a Defined Related List and to filter only active CI's use code: current.addQuery('active','true');
But if you are working on custom table then you need to create Relationships (Defined Related List).
- Navigate to System Definition>Relationships
- Click New
- Name the Relationship and Select your table in Applies To table field.
- In Queries form table enter the table you want as in Related List in your table which is CMDB_CI.
- You can also put some condition as script as: current.addQuery('active','true'); (Shows only active CI's)
- Now save it and go to your table and Right Click on banner and go to Configure>Related List. Here you will be able to see your relationship name just add it and save it.
If i was able to help you out then please mark my answer Helpful as well as Correct.
Thanks and Regards:
Utpal Dutta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2020 03:19 AM
Thank you so much!!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2020 04:21 AM
It was my pleasure to help you out. Thanks Tejaswnini for marking my answer correct and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2023 11:44 AM
Hi, How to push related links related changes to the other instance?