We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! Function to determine if IP is in CIDR network?

Is there an existing script class I can use to determine if an IP address is in a given CIDR range?Basically I want to make a call like: isInCIDR(ip_addr, cidr) and it returns true or false. I'd like to do this without first converting CIDR to range ...

jason_lau by Tera Contributor
  • 11940 Views
  • 16 replies
  • 16 helpfuls

Resolved! What is difference between SOAP and REST API.

Hi,  What is difference between SOAP and REST API. I have gone through many documents but didn't get it. Can anyone please tell me important difference between SOAP and REST API.  Regards, Nivedita  

fields should be mandatory in Angular ng-template

Hello community leadres, We have created one "Angular ng-template" under the widget to show some pop-up while approver approving the request from serviceportal.This pop-up is to enetring some values before approving the request. Below is the code tha...

n_16_0-1674026982254.png
n_16 by Tera Contributor
  • 997 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to create release tasks based on selected assignment groups ?

Hi All,I have a requirement in Release form. We have a list collector variable and it contains few groups. When a release is created with any of these groups, a task should get created.If the user selects all the groups, tasks should get created for ...

User205031 by Tera Contributor
  • 882 Views
  • 2 replies
  • 0 helpfuls

Hide Category fields from a group on Incident form

Reviewing this, I came up with the following onLoad Client script; however, it does not work for me.  Any ideas?Want to hide or remove from a group when in the Incident form some categories they will not use.  Looking at your example, I switched it t...

jbasa by Tera Contributor
  • 1477 Views
  • 4 replies
  • 3 helpfuls

OnLoad Client Script g_form.setLabelOf

Hello,  I am looking to dynamically update a field label on a form based on the values in a the sys_class_name on alm_asset table using Onload Client script. as per my example below, if the sys_class_name is Kittens, I would like to update the serial...

Cobee by Tera Expert
  • 6721 Views
  • 14 replies
  • 2 helpfuls

How to Edit the existing Email Headers

Hi All,when the outbound email is triggered from snow to customers by default it shows " X-ServiceNow-Generated:true " so the system is ignoring this email. how can we edit it and add additional customization to it 'X-ServiceNowXXX-Generated:true'. T...