The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

how to check if field values changed before save

Hey there,I am trying to update my table specific Update & Save UI actions to check if any values have changed before UI action executes.   I am sure there is an action out there, but is there one that will work with UI Actions.If I copy a record, is...

Resolved! Related Table ACL to depend on Parent?

I've created a free-standing U_DOC_REF table so that tasks (PROB, CHANGE, RELEASE) can have one or more URL fields pointing out to sharepoint and other websites.I'm happy for most roles to READ these records but I want to ACL the WRITE access depende...

mike_bush by Kilo Guru
  • 2691 Views
  • 2 replies
  • 0 helpfuls

Resolved! Unable to modify/close incidents

Before I discovered the ServiceNow REST interface and documentation on the wiki, I created some incidents in ServiceNow through a script that mimicked the actual HTTP calls that my web browser makes when I create an incident directly in ServiceNow.Ho...

northben by Kilo Explorer
  • 3881 Views
  • 13 replies
  • 0 helpfuls

ACL: Commentaries on the script code breaks ACLs

Recently I got involved on rebuilding the ACLs of our current SNOW instances, and I came across several small issues with the ACLs, for example, I created a new one to test a possibility, then, when debuging the security I noticed that my new ACL was...

Logon when ADFS SSO is down

When ADFS SSO is down, I believe that logging into the public internet will no longer work either as the log-in page for the public internet is present by ADFS and authenticated by ADFS.   So, what is necessary to provide a work around if ADFS goes d...

kurt9 by Kilo Explorer
  • 2304 Views
  • 7 replies
  • 1 helpfuls

Resolved! GlideRecord "while (gr.next())" doing weird stuff

Hi,I've noticed some weird things while performing a query...   Basically what I want is to provide the end users (with a certain role) with the ability to cancel requests that are pending approval still...   I've done this by creating a UI Action "C...

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
  • 2441 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
  • 3118 Views
  • 3 replies
  • 1 helpfuls