ServiceNow News
662 items
the user running the install needs to have the GA Admin role in Azure/Teams
may need to get them to run the install in ServiceNow, granting them the admin role in ServiceNow temporarily
Haven't ...
We have a simple article that walks you through Workflow vs Flow Designer: [https://support.servicenow.com/kb?id=kb\_article\_view&sysparm\_article=KB0789014](https://eur01.safelinks.protection.ou...
ServiceNow Flow designer versus old workflow UI for Change workflows
Import
·
over 3 years
www.cloudminus89.com
cache
UI Action conditions:
'create incident' button
_add this to the condition field:_
&& (new InteractionUtils().intHasRelatedInc(current.sys\_id) \== 'false')
'create request' button
_add t...
ServiceNow Agent Workspace - block an agent from creating a ticket from interaction if another user already has
Import
·
over 3 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...
var instURL \= gs.getProperty('glide.servlet.uri'); if (instURL.indexOf('https://PROD.service-now.com') \> \-1) { gs.print('do not run on prod');
} else { //--bulk-create some test tickets for (i...
ServiceNow bulk create request, change tickets in a test environment
Import
·
over 3 years
www.cloudminus89.com
cache
var grInc=new GlideRecord('incident');grInc.addQuery('state','1');grInc.addEncodedQuery('sys\_created\_onONThis year@javascript:gs.beginningOfThisYear()@javascript:gs.endOfThisYear()');grInc.query...
ServiceNow pass a GlideRecord query to a GlideAggregate
Import
·
over 3 years
www.cloudminus89.com
cache
see [developer site](https://developer.servicenow.com/dev.do!/guides/sandiego/now-platform/tpb-guide/scripting%5Ftechnical%5Fbest%5Fpractices)
and [docs ](https://docs.servicenow.com/bundle/sandi...
ServiceNow getRowCount versus GlideAggregate (best practice)
Import
·
over 3 years
www.cloudminus89.com
cache
Angular ng-template spDropdownTreeTemplate sp\_ng\_template\_492127b05b301200e39fc7ad31f91a50
Menu Item My Tickets sp\_rectangle\_menu\_item\_b8cee8de1b6c5110737aa6c8bd4bcbd3
angular tem...
ServiceNow how to code a top menu 'my tickets' item
Import
·
over 3 years
www.cloudminus89.com
cache
code snippet - modify filter parameters as needed (STARTSWITH query could also be changed to LIKE)
var sLogSource \= 'fixScr:largeOldTables';
gs.print('script start', sLogSource);
var tableNa...
ServiceNow display list of large tables where last record updated > 6 months ago
Import
·
over 3 years
www.cloudminus89.com
cache
var lastUpdated\=getLatestRecord('azure\_billing\_table'); var luDate\=(new GlideDateTime(lastUpdated)); gs.print('lastUpdated='+luDate); gs.print(luDate < gs.monthsAgoStart(6)) gs.print(luDate \> ...
ServiceNow get oldest record in a table, and check if it's > 6 months old
Import
·
over 3 years
www.cloudminus89.com
cache
/$pa\_dashboard.do?sysparm\_dashboard=0b35c80ceb10220078e44d3df106fe61
/$pa\_dashboard.do?sysparm\_dashboard=48b1c6beebb3120078e44d3df106fe29&sysparm\_tab=98c186beebb3120078e44d3df106fec9&sysparm\...
ServiceNow example performance analytics dashboards
Import
·
over 3 years
www.cloudminus89.com
cache
Follow the knowledge article related to a known issue with ServiceNow (KB0997488)
System property com.snc.whtp is updated to include the correct value
Old value: "http://whtp"
New Value: "htt...
Due to a few issues with the Slack integration, such as encountering a limit of 100 entries on reference fields, the following is a compromise solution
Slack will use a workflow to create a messa...
ServiceNow how to build a link in Slack to redirect into the ServiceNow portal (simple url redirect)
Import
·
over 3 years
www.cloudminus89.com
cache
ServiceNow have confirmed that the 'business stakeholder' role can be used for read only access to tickets, but any interaction with the ticket (updates) will require the 'itil' role
unfortunatel...
ServiceNow license implications for reading other people's tickets, updating other people's tickets
Import
·
over 3 years
www.cloudminus89.com
cache
enable favourites is set at the portal settings page for the individual portaladd my favourties widget and top menu item
star item on the KBA can be clicked then it will show in the widget
tabl...
go to the UI action > requires role as this may be controlling visibility in addition to the condition field
(ServiceNow )
Haven't tested these all recently within global/local scopes, so feel...
ServiceNow requires role on UI Action (propose major incident UI action was not showing for itil)
Import
·
over 3 years
www.cloudminus89.com
cache