I need to extend the pattern to get the Environment details of servers in my organization

Ashupakasma
Tera Expert

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.

 

2 ACCEPTED SOLUTIONS

SiD2
ServiceNow Employee
ServiceNow Employee

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.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

View solution in original post

SiD2
ServiceNow Employee
ServiceNow Employee

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

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

View solution in original post

11 REPLIES 11

Hello @SiD2 , 

 

Kindly update on next steps. 

SiD2
ServiceNow Employee
ServiceNow Employee

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.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

Hey @SiD2 ,

 

Yes, I have followed what you instruct me, but still not getting the desired result, it's not able to update environment details. attaching step files that I performed.

 

SiD2
ServiceNow Employee
ServiceNow Employee

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

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

Hello @SiD2 ,

 

Thank you so much for your guidance on my issue. I have followed all the steps and almost achieved the result, the only problem is still the "env" details do not get populating in the CI/CI Form of the Server after running the quick discovery. Even also checked the data dictionary for the "Environment" attribute, checked the ACL, and checked the business rule but no luck. So now we are going to raise a HI ticket most probably for the solution.  But again, Thank you so much for this tremendous help.

 

Helpful Marked / Solution Accepted