Custom Pattern Issue

SandeepKSingh
Kilo Sage

Hi Team,

I was trying to create a Custom pattern on "windows os Desktop" to find the Time zone.
But I am not able to set the value. 

Error:"unexpected error occured durning debug"

2 ACCEPTED SOLUTIONS

Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

 

Good Day!!

I am assuming you are creating a pattern under Extension Section Correct?

 

If Yes.. then first start the debug window that might take time!!

and the use first step to create a WMI query!! and choose Root CMIV2 and choose the timeZone table and in the next step use the operation as parse variable and set on CMDB_CI_Computer Table.

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

Make sure Run the discovery Schedule after that.
We use PowerShell there

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

5 REPLIES 5

Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

 

Good Day!!

I am assuming you are creating a pattern under Extension Section Correct?

 

If Yes.. then first start the debug window that might take time!!

and the use first step to create a WMI query!! and choose Root CMIV2 and choose the timeZone table and in the next step use the operation as parse variable and set on CMDB_CI_Computer Table.

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

Make sure Run the discovery Schedule after that.
We use PowerShell there

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

Let me Try on this.. how do you that that we need to choose ROOT CMIV2?

Any Documents?

Please help??

SandeepKSingh
Kilo Sage

Thank you so much it worked

SandeepKSingh_0-1757403819740.png