Server is mapping to a wrong service instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi All,
My case is - In my instance server is connected to a service instance like { Service instance -->uses/usedby (Application) --> run on/runs (server) }.
Now, I have created a after insert or update business rule on server table to populate service instance mapped to that server.
Problem is even when server is classified as development or UAT, it is populating a prod service instance. When I have checked ci relationships. I got to know that dev server is mapped to an application and that application is connected to a prod instance only. And it is happening with multiple records.
Could someone please help me to find the cause here and how to resolve it ?
Below is the business rule:-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello @SiddharthN62887 ,
Kindly check the classification value and used for value. I don't think that UAT value will be there in used for field.
Check the value and compare with classification and used for field.
*************************************************************************************************************
If my post is useful, please indicate its helpfulness by selecting " Helpful." This action benefits both the community and me.
If you like to share any information, please comment in this post so that it will be useful for our community.
Regards
Murali.K.V.R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
1) Ensure in your instance you have created separate Application Services for each environment (e.g., AppName - DEV, AppName - UAT, AppName - PROD) Or AppName - PROD ,AppName - non- PRODz
Also Ensure the Dev server is only related to the Dev application service.
2)
Add an environment check (like environment field) to your script logic.
The rule must first check the environment of the server triggering the event, and then query for the corresponding Service Instance (DEV service for DEV servers or non-prod servers, PROD service for PROD servers) rather than defaulting to the first related record it finds.
3) If the Discovery pattern or payload looks at non-production servers, the Identification and Reconciliation Engine (IRE) might incorrectly identify the CIs.
Verify the Identification Rules .
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti