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

Forum Posts

Resolved! Admin users unable to view sys_audit

We have an issue where some of our admin users can't access the sys_audit table. For these users it always times out. Other admin users with the same group and roles are able to view the table and it takes less than 20 seconds to pull up. All of the ...

Business rule condition - gs.getSession().isInteractive()

We have an issue with technicians manually creating users that should only be created through AD sync, resulting in multiple user records for the same person.   To address this, I've created a simple business rule, shown below.   This works (action i...

find_real_file.png
kchorny by Tera Guru
  • 5969 Views
  • 2 replies
  • 3 helpfuls

How to replace a string with a particular value?

Hi All,I need to replace "YYY" string in "observations" column of "test" table with "location" of an "Opened by" column in "incident" table.Below is the code to fetch the values containing "YYY" string. Can any one let me know how can I replace the "...

sowmyaj by Giga Expert
  • 16916 Views
  • 4 replies
  • 4 helpfuls

Are all watch list assignments stored in a single table?

We are a new ServiceNow customer. We imported records from another system and brought in many users that were on that system's equivalent of the ServiceNow's Watch List. Some of those users are retired or no longer with our organization but associate...

perkinsarm by Mega Guru
  • 2570 Views
  • 4 replies
  • 1 helpfuls

Last work notes in Task notification

Hi All.I am trying to create a business rule which will be used in a email notification for when a Task has been updated. I would like the latest work notes to appear in the notification. In the business rule script I have current.u_work_notes = curr...

cstangoe by Mega Guru
  • 2416 Views
  • 5 replies
  • 0 helpfuls

Resolved! Incident - require a KB submission on closed

I want to:     When checking the Knowledge checkbox on Incident Resolution section of incident form, a knowledge article is created from resolution/closure notes and sent to the "Knowledge" manager to approve for publication.I believe this would use ...

paw2 by Tera Expert
  • 2128 Views
  • 3 replies
  • 1 helpfuls

Resolved! Why does GlideDateTime field not setting properly (sets the correct date but the time is set differently) using setGlideDateTime?

/* SCRIPT */var gr = new GlideRecord('u_xyzTable');gr.get('4d967a180fe70200b8de46a32050e20');gs.print('u_a_date : ' + gr.u_a_date);var newDateValue = new GlideDateTime('2014-04-07 08:17:00');gr.u_a_date.setGlideDateTime(newDateValue);gr.update();gs.p...

NYoks1 by Giga Expert
  • 3779 Views
  • 8 replies
  • 1 helpfuls

REST Blob API

Hi,We have to use blob API to upload data into Third party system using the rest API given to us.I tried invoking the API from post man and rest advanced chrome client. it was working fine without any issues,End point:https://XX/API/v1/mam/blobs/uplo...

ramjiram by Kilo Explorer
  • 1387 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to change css style on condition?

I have class .chat_queues   and depending on what language user select, 4 or 5 chat options will be available. User always have option of 4 standard languages but if users language is for example hungarian - than there should appear also fifth option...

hyperjam by Giga Contributor
  • 4746 Views
  • 4 replies
  • 1 helpfuls

Using SNC Regex API to enhance performance

Hi folks,Anyone can assist me with a SNC Regex expression enhancement, currently I have the regular Java Script email regular checking which has overwhelmed our Non-Production instances, I have been advised to use SNC Regex API to reduce the performa...

georgechen by Kilo Guru
  • 3637 Views
  • 3 replies
  • 2 helpfuls