Need Assistance: Redirection Problem Opening Applications in CMDB Tables

Service now11
Tera Contributor

Hi,

 

I'm encountering an issue with redirection on the CMDB table. When attempting to open an application listed in the "cmdb_ci_service_discovered" table, instead of remaining on that page, it redirects to the "cmdb_ci_service_calculated" table page. I need the application to open and remain visible within the "cmdb_ci_service_discovered" table page. How can I resolve this redirection problem?

 

Thanks,

Abirami

4 REPLIES 4

AJ-TechTrek
Giga Sage
Giga Sage

Hi @Service now11 ,

 

Ist try to understand the difference in both table , how those are working and interlinked to each other.

 

Mapped Application Service

This Application Service type may be created and maintained by:

  • Service Mapping, and in this case you do not need to take care about the CI Associations as they are created automatically
  • Manually, where you need to build Service Map and CI Associations manually

The following picture shows a new Application Service being created with Manual population method. You can add multiple Configuration Items into the manual map however: only directly added configuration items will create CI Associations.

If the added Configuration Item, DEMO Server on the example used, have some child relationships, they are ignored and CI Associations are not created for them. It means, Impacted Services etc. will work for directly listed Configuration Items but not for their children.

AjayKumar011_0-1716461012635.jpeg

 

Once the Mapped Application Service is created, you may need to populate remaining Configuration Items manually, based on the existing relationships. Open the Mapped Application Service in the form view (the most easy is to type cmdb_ci_service_discovered.list in the filter navigator) and use "Update with changes from CMDB" UI Action (highlighted on the screenshot below). There is a need to use this UI Action after every change in the relationships, to ensure Service Map and CI Associations are in sync with CMDB relationships.

 

 

Calculated Application Service

A Calculated Application Service [cmdb_ci_service_calculated] is a type of the Application Service that is populated automatically based on the CMDB relationships. Changes in the CMDB relationships are detected automatically and Service Map together with CI Associations are adjusted automatically (through a scheduled job). You may control what Configuration Item classes are imported, for details please check my Community Article Application Services: Tips and Tricks.

Creation of the Calculated Application Service not straight-forward in the Quebec release, there is a need to:

  • Create a Mapped Application Service
  • Open the service form and use "Convert to Dynamic Service" UI Action

AjayKumar011_1-1716461061411.jpeg

 

Once this UI Action is clicked, Mapped Application Service is re-classified as Calculated Application Service with few additional parameters populated.

Attribute "Levels" is highly important in here. This number says how many levels of CI Relationships is imported to the Application Service. Default value (set by the "svc.manual.convert.levels.default_value" property) is 3.

Attribute "Levels" is in practise attribute with element name "metadata" that needs to be populated with a JSON String: {"levels" : <number>}.

AjayKumar011_2-1716461061263.jpeg

 

Refer the below articles for more details, I hope this will help.

 

https://www.servicenow.com/community/common-service-data-model/application-services-how-to-use-them/...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

Ajay Kumar

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024

 

Service now11
Tera Contributor

Thanks Ajay

Service now11
Tera Contributor

Hi,

 

I'm encountering an issue with redirection on the CMDB table. When attempting to open an application listed in the "cmdb_ci_service_discovered" table, instead of remaining on that page, it redirects to the "cmdb_ci_service_calculated" table page. I need the application to open and remain visible within the "cmdb_ci_service_discovered" table page. How can I resolve this redirection problem?

 

Thanks,

Abirami

Service now11
Tera Contributor

Can I able to see the "CI" in the actual table itself?