ServiceNow News
662 items
use spModal for portal
https://developer.servicenow.com/dev.do!/reference/api/orlando/client/c\_GlideModalClientSideV3API
use following syntax for 'confirm' with Yes/No (to replace yes/no with O...
GlideModal reference (popup message in classic UI)
Import
·
about 5 years
www.cloudminus89.com
cache
import the xmls, in this order:
sc\_request
sc\_req\_item
sysapproval\_approver
sc\_task
wf\_context
wf\_executing
wf\_history
wf\_transition\_history
Haven't tested these all recently w...
Import a sample of prod tickets into test - request
Import
·
about 5 years
www.cloudminus89.com
cache
var gru \= GlideScriptRecordUtil.get(current); var fields \= gru.getChangedFieldNames(); //Get changed fields with database names //Convert to JavaScript Array gs.include('j2js'); fields \= j2js(fi...
get ALL fields changed and pass these to a queued event
Import
·
about 5 years
www.cloudminus89.com
cache
\- drop the current group members
\- repopulate the group members
\- update the group (e.g. group manager)
import sheet format: , delimited list of users (email)
[;
item.addQuery("sys\_id", current.sysapproval); item.query(); while (item.next()) { var set \= new GlideappVariablePoolQuestionSet(); set.setRequestID...
Email notification script: catalog item variables and attachments; template.space();
Import
·
about 5 years
www.cloudminus89.com
cache
https://community.servicenow.com/community?id=community\_question&sys\_id=c7d20e2fdbb3974067a72926ca96191e&view\_source=searchResult
Haven't tested these all recently within global/local scopes, ...
GlideRecord: difference between orderBy and addOrderBy
Import
·
about 5 years
www.cloudminus89.com
cache
[![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyS27lmAhXeAT-11S0as35fSZNzDvY7B6TGBZHvX_XzJ3L0oXghCvPAeb4czTyN9xGJ7FmaC1SBO4jBMotUevSd98SNK49mq0QY_Bu_oJ3BMa3W4977t7XPm9WeIAjMFv21jZ...
see
https://snprotips.com/blog/2018/10/19/synchronous-lite-onsubmit-catalogclient-scripts
Haven't tested these all recently within global/local scopes, so feel free to have a play! option 1 use ...
ServiceNow Portal: Asynchronous onSubmit Catalog/Client Scripts in ServiceNow
Import
·
about 5 years
www.cloudminus89.com
cache
Haven't tested these all recently within global/local scopes, so feel free to have a play! option 1 use an encoded query embedded in the GlideRecord , e.g. var grProf = new GlideRecord ( 'x\_cls\_c...
Service Portal user profile widget: where are the Bio / Photo stored?
Import
·
about 5 years
www.cloudminus89.com
cache