Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

ITOM forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! Get Sys_Id from CI name

Hello, Need to get sys_id of a server from  server name. I am using below script it is not working. var tableGr = new GlideRecord('cmdb_ci_computer');tableGr.addQuery('name', 'LAPTOP-AFB9NR12');tableGr.query();var sysId = tableGr.sys_id;gs.print(sysI...

kranthi by Tera Contributor
  • 2008 Views
  • 4 replies
  • 0 helpfuls

Resolved! Inbound REST message via MID Server

In ServiceNow, i'm aware i can send outbound REST request via a MID Server to resources within my local network. Is it possible to receive REST messages from local resources to my mid server, rather than pointing the endpoint directly to the instance...

Abbey2 by Tera Expert
  • 6523 Views
  • 11 replies
  • 7 helpfuls

Resolved! Background Script Help to Update Task based on Parent

I wanted to update the incident task callerid field for the tasks which are empty currently and copy the value from incident callerid to incident task caller id. This is the script I have but it is getting me into loops var grchange = new GlideRecord...

Hari7 by Kilo Guru
  • 569 Views
  • 2 replies
  • 0 helpfuls

Azure subscription, resource Discovery without MID server

Hi Team,There is a requirement to discover only Azure subscription, datacenters and cloud resources but No VMs instances within Azure and without the use of mid server. We are stuck and unable to move forward with the requirement. I have a question: ...

Abhishek41 by Tera Contributor
  • 503 Views
  • 1 replies
  • 0 helpfuls

Azure Discovery not creating windows/linux server CIs

We have activated Azure Discovery in our company.  We are trying to understand the OOTB behaviour for when an Azure virtual machine is being discovered.When an azure virtual machine is detected, will ServiceNow  Create a new CI under the Azure Virtua...

peggyl by Tera Contributor
  • 1130 Views
  • 3 replies
  • 0 helpfuls

Configure Ad-hoc Approvals

Hi i have requirement,  As the Change Management Process Owner, I need a way to allow ad-hoc approvals to be added on the fly by Change implementers (ITIL users) so that approvals which cannot be automatically identified at time of raising can be man...

Tag Governance Policy Cloud Service Account exclusion

We are using Tag Governance and running audits using the out of the box Tag Count Policy and Tag Key Policy. We have more than 300 Cloud Service Accounts. We have now been asked to exclude a handful of the Cloud Service Accounts from auditing. I can ...

Resolved! Manage Most Recent Discovery on Azure Service Graph

Hi community!I implemented the Azure Service Graph connector and also we are using the 'Delta' functionality, so the data sources will use the last run datetime.If this ServiceGraph discovers an Azure Device it will be created in ServiceNow with the ...