Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Affected CIs are not listing the tasks associated with the configuration item when you add Configuration Items to the affected CIs from the Task form - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Affected CIs are not listing the tasks associated with the configuration item when you add Configuration Items to the affected CIs from the Task form
KB0716549

Affected CIs are not listing the tasks associated with the configuration item when you add Configuration Items to the affected CIs from the Task form


2988 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Symptoms


Affected CIs are not listing the tasks associated with the configuration item when you add configuration items to the affected CIs from the task form related list.

Release


All available releases

Cause


This is working by design. When you add a cmdb_ci item to the task, the task is added to the task_ci table and not the cmdb_ci table. So tasks will not be seen in the cmdb_ci table unless it is the configuration item for the particular task. You will only be able to see the associated tasks/change_tasks from the task_ci form.

Resolution


To view all the change_task for a particular cmdb_ci table, you need to define a relationship from task_ci table which queries from the task_ci table itself. To do the same, please follow the below steps. 

1. Go to System Definitions -> Relationships 
2. Create New 
3. Enter the following details in the form 

Name: Tasks for the Configuration Item(You can name it according to your preference) 
Applied to Table: CIs Affected[task_ci] 
Queries from Table: CIs Affected[task_ci] 
Query with: 

(function refineQuery(current, parent) { 

current.addQuery('ci_item',parent.ci_item); 

})(current, parent); 

4. Go to task_ci form 
5. Right click on the header and select Configure -> Related Lists 
6. Add the Relationship - "Tasks for the Configuration Item" to the form 
This will list all the tasks with the Configuration item listed for the task_ci 
7. You may configure the related list layout to place the task number and configuration item to the top, so that it would be easier to see the task as the first column in the list. 

 

Additional Information


https://docs.servicenow.com/csh?topicname=t_CreateDefinedRelatedLists.html&version=latest 


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.