- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 05:49 AM
Hi Experts!
Hope all are doing good.
I am reaching out here to get some solution on "to extend the pattern to get the Environment details of servers in my organisation". That details is updated in Registery value of the servers, so I have tried to extend the -Windows OS - Servers pattern.
I am trying to get it via Get Registery Key Operation, but not able to sucess.
Can I get some help on this.
Thanks!
Note :I have tried to search and get
https://www.servicenow.com/community/itom-articles/extending-patterns-method-2/ta-p/2326781
https://www.servicenow.com/community/itom-articles/extending-patterns/ta-p/2326816
But not able to solve my issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 06:59 AM
Hi @Ashupakasma
I see you are directly using the actual win server cmdb ci name itself in the registry step, instead you better use a temporary value and then copy it to actual CI in different step.
Though you did it, still I could see the env value is set in CI attributes section in 6th image, so what is the concern here that its not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 10:31 PM
Hi @Ashupakasma
You should not change the source table name in steps 8 image, keep the source table also as win server CI name.
Once you do above change, in debug mode go to next step and in right CI attributes view you should see all the win cI attributes filled properly

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 08:36 PM
I assume you have extended the Pattern for same and added steps there.
On any given server hope you are able to fire the same command to get the registry value?
Below recent article can help on how to use Registry commands - https://www.servicenow.com/community/itom-articles/version-prod-id-and-edition-is-not-populated-for-...
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 05:37 AM
Hi @Rahul Priyadars ,
I tried to run the same command but did not get any output for the environment.
I am still struggling to achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 11:29 PM
Hi @Ashupakasma
Can you share the screenshot and explain what issue are you facing in the pattern step with registry operation to understand better
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 05:36 AM
Hello @SiD2 ,
Thanks for your prompt reply on my query. I am attaching here the steps that I followed till now.
Image 1st, is the requirement, on which I am working upon.
Imgae 2nd, is where I have created an extension under-Windows OS server
In third step, I have tried the operation"Get Registery Key"
In 4th step, I get the environment details.
5th and 6th steps, I am trying to get the desired result, according to my requirement, but not getting success.
Kindly help on this.