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

Forum Posts

Resolved! g_scratchpad vs. GlideAjax: is there really a winner?

My team is working on a custom application right now, and we needed to decide how to limit which status values are available to users in which situations. We've decided to go with storing the appropriate values in a system property, so we've gone abo...

Resolved! Why Array Map function not works

Hi,I tested the following script on browsers (changed gs.print to console.log), it was okay. However, it returned error on ServiceNow when I tried to run it in Background Script. It seems that Array Map function is not working. Anyone knows why?The S...

ericpan by Kilo Explorer
  • 2394 Views
  • 1 replies
  • 0 helpfuls

How to test SLA notifications without waiting for SLA breach?

Is there any way I can test changes in SLA notifications and templates and se the result instantly? I'm testing in our dev-site, and every time I change the content in an notification or template I have to create a new incident and wait until SLA bre...

merete by Kilo Contributor
  • 3082 Views
  • 3 replies
  • 1 helpfuls

Resolved! Change Request rejected comments to mandatory

Hello all, Having a little issue with the UI Policy "Comments mandatory on rejection".   It appears that comments are not mandatory for Change Request's.   I made the update from blog post https://www.servicenow.com/community/developer-blog/setting-a...

Resolved! Copy a record without inserting

Here's a question for you all:Is it possible to copy a record and open it for editing without saving? That is, copy the record, but give the user the opportunity to either edit the record before saving, or opt to not save it with no repercussions. An...

Beth11 by Giga Guru
  • 3201 Views
  • 9 replies
  • 3 helpfuls

Any harm in renaming an update set?

Hi all,We have 4 environments:DEV>TEST>INTEGRATION>PRODWe've recently created update sets in DEV and pushed them to TEST. We realized that with all the update sets, it is hard to distinguish them all into logical groupings.A lot of the tickets today ...

Setting value on a 'Duration' field

On the rm_story table, I have a integer field 'Total Story Effort' which gives the value in hours based on some calculations.On the same table rm_story, there is a field called Planned effort, which is a 'Duration' field. I have to copy the value of ...

kunal16 by Tera Expert
  • 4324 Views
  • 3 replies
  • 0 helpfuls

Resolved! GlideRecord query on non-existent column returns all table rows

Hi,Here's a snippet of Eureka server-side JavaScript:var gr = new GlideRecord('sysapproval_approver');gr.addQuery('fred', 'abcd');gr.query();As 'fred' is obviously not a valid column name I'd expect either zero rows in the result set and/or an except...

gmbroth by Kilo Contributor
  • 2354 Views
  • 5 replies
  • 0 helpfuls

ServiceNow Integration with OKTA

Hi,Recently I have done servicenow integration with OKTA. when user type "www.instance.service-now.com", user will get OKTA login page & authentication will be done at OKTA then navigate to Servicenow home page.Now the issue is with "login.do" & "sid...

hima6 by Mega Expert
  • 1426 Views
  • 2 replies
  • 0 helpfuls

Resolved! Hide an HTML field with a client Script (Service Catalog )

Hello Snow community,I'm trying to hide an HTML field from the service catalogI used this method and it works well with every kind of field, expect for the html one,       g_form.setVisible('my_field_name', false); Is it a real bug or i missed som...

Snw1.png Snw2.png
xif1 by Mega Expert
  • 1729 Views
  • 5 replies
  • 0 helpfuls

ODBC Connector and MS-Access

I am trying to retrieve data using the ODBC connector for Service-Now. I can successfully pull data using iSQL and Microsoft Excel; however, when I try to retrieve data using MS-Access, the query returns the data but every field is populated with #DE...

relemon by Kilo Explorer
  • 2239 Views
  • 4 replies
  • 1 helpfuls