Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Impacted Service Related list : how to hide NON operational CI/service

Servicenow lear
Tera Contributor

Hello ALl,

 

We are implementing Service Map.

We are seeing a behavior on impacted services related list : where in we are seeing non operational CI/services in the list.  How can we only allow related items that are operational ? 

 

 
 

 

 

 

1 ACCEPTED SOLUTION

Abhijeet Dutt
Tera Guru

you can do it in 2 ways :

 

update list layout 

 

or BR

 

  1. Navigate to System UI → Related list conditions.
  2. Click New.
  3. Set:
    • Table: Incident (or the task table where you want this behavior)
    • Related list: Impacted Services/CIs (this is the M2M table task_ci)
    • View: (leave blank for all views, unless you want it view‑specific)
  4. In Condition, add:
    • Configuration item → Operational status is Operational
      (field path: Configuration item.Operational status)
  5. Save.

 

 

 Before‑query Business Rule 

If you truly want to always suppress non‑operational items from that related list’s underlying table, you can add a Before → Query BR. This affects all queries (so use conditions!).

Table: task_ci
When: Before

View solution in original post

1 REPLY 1

Abhijeet Dutt
Tera Guru

you can do it in 2 ways :

 

update list layout 

 

or BR

 

  1. Navigate to System UI → Related list conditions.
  2. Click New.
  3. Set:
    • Table: Incident (or the task table where you want this behavior)
    • Related list: Impacted Services/CIs (this is the M2M table task_ci)
    • View: (leave blank for all views, unless you want it view‑specific)
  4. In Condition, add:
    • Configuration item → Operational status is Operational
      (field path: Configuration item.Operational status)
  5. Save.

 

 

 Before‑query Business Rule 

If you truly want to always suppress non‑operational items from that related list’s underlying table, you can add a Before → Query BR. This affects all queries (so use conditions!).

Table: task_ci
When: Before