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

Forum Posts

Resolved! JSON String (Get value from string using Client Script + Ajax)

Script Include:var NewGetRequestedItemVariablesAjaxJSON = Class.create();NewGetRequestedItemVariablesAjaxJSON.prototype = Object.extendsObject(AbstractAjaxProcessor, {NewgetUsersValues: function()   { // var NItems = [];   var cat_id = this.getParame...

errabelly by Giga Contributor
  • 5492 Views
  • 9 replies
  • 0 helpfuls

Retrive Oauth Token from script

Hi community, I am trying to get the access token from script as follows: var r = new sn_ws.RESTMessageV2();r.setEndpoint('https://<INSTANCE NAME>.service-now.com/oauth_token.do');r.setHttpMethod('POST');r.setRequestHeader('content-type', 'applicatio...

alebuc by Tera Expert
  • 504 Views
  • 2 replies
  • 0 helpfuls

Resolved! Parsing email body from an Inbound Email action

Hi,  I have a little issue with parsing a certain value from an email. I am trying to parse the value "devicename" (R1 Choa Chu Kang) and then populating the cmdb_ci field on an incident form.  Below is a preview of the inbound email   Below is the ...

find_real_file.png find_real_file.png
Waseem Abbas by Kilo Contributor
  • 6286 Views
  • 3 replies
  • 7 helpfuls

is there a way to make field style bold in a table?

is there a way to make   field style bold in a table? i have tried putting:font-weight:bold;for the style field and does not make it bold any suggestions? i have also tried other scripts that make CSS style bold. i have tried a client script on load ...

Add reference on a record to himself

I need to set reference fields in some records so the will refer to themselves but this action is blocked by ServiceNow.Is there a way I can overcome this and set a reference on a record to himself?   

Gal Katz by Kilo Sage
  • 698 Views
  • 5 replies
  • 0 helpfuls

How to set variable of what the current form hass?

I am trying to make this scheduled job script based on what is entered on current unique scheduled job to be dynamically set the variable when its scheduledeach schedule job has its own descriptionscurrently the way I have the code it will only enter...

JoshuaComeau_0-1699532010228.png

Standard change template proposal

Hello, in standard change template proposal, is it possible to make following 7 fields static instead of select box? We don't want user be able to either change field or delete it, since they are mandatory. I know this is a macro with protected read-...

ss.png

Baseline public ACL on sys_user table?

Hello,  I've noticed a public role on a table level ACL on the User table so I am wondering why it's public and if there are any serious consequences if the role is replaced with another one like snc_internal. Using this role, I've tested it and it s...