Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Resolved! gr.update() not updating all records

Hi All, I am trying to update the work notes of multiple task records, but only one record is getting updated. Below is the script I am using: var gr = new GlideRecord('tablename'); gr.addQuery('parent',current.sys_id); gr.addEncodedQuery('stateNOT I...

Anubhuti by Tera Expert
  • 5580 Views
  • 13 replies
  • 0 helpfuls

Import Export Map table (sys_impex_map) info?

Can someone explain to me what the Import Export Map table is all about? I know that's a really vague question.We had an update set move up from our Dev instance and while previewing it, we noticed an entry from the sys_impex_map table but don't reme...

jwawa1 by Kilo Contributor
  • 3747 Views
  • 2 replies
  • 1 helpfuls

Resolved! How do you manage data in your non-prod instances?

Hi all,   I'm keen to find out how you manage data in your non-production instances when you clone?   * Do you just clone straight from prod keeping all the data? * Do you not clone that often, so the data is out of date anyway? * Do you exclude tabl...

arobertson by Tera Guru
  • 3076 Views
  • 4 replies
  • 2 helpfuls

Resolved! How to import data from external application using API?

Hi All,   The day I have been dreading has arrived.  I have been given 12 API "paths" to an external application where I am to connect from ServiceNow and import their data into 12 custom tables I will create in ServiceNow. Can anyone point me to the...

Jeff316 by Kilo Guru
  • 5061 Views
  • 6 replies
  • 2 helpfuls

Resolved! Returning a Primary Key from a Table using GlideRecords()

Hey all, I had a question about querying a table in my ServiceNow instance. I'm currently trying to write a Virtual Agent tool which creates Requests within the Request Table, based on each User's unique identifier (username). The username is not the...

Joe Webster by Giga Contributor
  • 3751 Views
  • 6 replies
  • 4 helpfuls

Resolved! Copy a role and permissions

Hi,I want to copy the OOB ITIL role and make some modifications ( remove and add )to the permissions for   the new role. Is there an easy method to do this?If I inherit the ITIL role, can this modification be done?

maryc by Tera Contributor
  • 10602 Views
  • 18 replies
  • 5 helpfuls

Any good sample on how to build smart simple UI page ?

Dear all, I need to build simple pop up UI page for editing user to be more friendly than editing directly records.I will call this UI page using UI Action. Is there any good sample, different that basic hello word, on how to build a smart user edit ...

wakespirit by Kilo Guru
  • 12657 Views
  • 3 replies
  • 2 helpfuls

Resolved! ACl for multiple roles not working

All the fields except Comments should be read only to everyone but for  Assignee and users having CAB Manager role and Change Manager role its should be editable i did the following and it didnt work  

find_real_file.png find_real_file.png
snow3 by Kilo Contributor
  • 7858 Views
  • 10 replies
  • 0 helpfuls

Problem with getting SN to accept Danish

HiI have the following problem. I cannot get SN to accept Danish as the login language, or change from another language in the Service Portal.We're translating the Service Portal from English to Swedish, Norwegian and Danish. For reference, we have a...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png

Resolved! SLA Stuck in 'Paused' Stage

Hello guys, I am having a hard time figuring out what's wrong with my SLA stop condition as it does not seem to move into 'Completed' Stage.  Here is my Stop Condition, the SLA should Stop after the Incident is Closed. Here is my paused condition, T...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png

Maintainence Page in Service Portal

Hi All,I want to have a page in place that should come in picture when there is a Update Set Migration.This page should not allow users to interact with Service Portal -- Not even by direct URL editing.This should a page before the Service Portal and...

Resolved! Problem with GlideRecord.setTableName

We are attempting to read the full list of table names using the SOAP API but not all tables are returned.  In the System Error Log we see this GlideRecord.setTableName - empty table name: org.mozilla.javascript.EvaluatorException: GlideRecord.setTab...

Resolved! on changing choice, checkbox should automatically uncheck

Hi, I have created a catalog item, it has a selectbox variable with 4 choices, I want that whenever I change the choices, the Checkboxes variables I have made (Menu and function)  should uncheck.   function onChange(control, oldValue, newValue, isLoa...

prabhmeet by Giga Expert
  • 5996 Views
  • 9 replies
  • 1 helpfuls