ServiceNow News
662 items
ServiceNow :
it seems you may have to clear browser cache each time in order for
assessment properties > font color settings to get picked up
Haven't tested these all recently within global/...
ServiceNow Problems with refreshing survey header colors
Import
·
about 4 years
www.cloudminus89.com
cache
ServiceNow :
sys\_ui\_style entry:
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...
ServiceNow Applying a field style to incident.number field for a major incident, include a triangle warning gif
Import
·
about 4 years
www.cloudminus89.com
cache
ServiceNow :
note: unlike the number field for example, styles didn't appear to have any effect on the reference field on the form (though list view seemed fine)
in below example an AJAX call is...
ServiceNow Changing background color of reference field / label, dropdown field
Import
·
about 4 years
www.cloudminus89.com
cache
(ServiceNow )
sample script - could be moved into a monthly scheduled job script
scheduled job code (calls the script include):
var si\=new hmcts\_dynatraceINCtoPRB().mergeDynatraceIncidentsIn...
ServiceNow ARRAYS: Group matching incidents by CI and short description (typically from alerts) into a problem record
Import
·
about 4 years
www.cloudminus89.com
cache
ServiceNow recommends use of after/asynch business rules rather than before to update related records
obviously, current.update() should be avoided
Haven't tested these all recently within glo...
ServiceNow Best practice: before versus after/asynch for related records
Import
·
about 4 years
www.cloudminus89.com
cache
I checked and total impacted on the incident description comes from the alert management rule:
(BTW Here’s an interesting KB, it’s maybe worth clicking the ‘refresh impacted services’ button from...
ServiceNow Event Management: tracing back the impacted services from the incident and alert
Import
·
about 4 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...
ServiceNow Event management: refresh impacted services on incident
Import
·
about 4 years
www.cloudminus89.com
cache
note might need to set a user with an external email to achieve this, in order to pass the sys id as the recipient param
see
<https://community.servicenow.com/community?id=community%5Fquestion&s...
ServiceNow Set a notification addressee dynamically
Import
·
about 4 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...
ServiceNow Create an announcement stype (Service Portal)
Import
·
about 4 years
www.cloudminus89.com
cache
this solution could be extended for APIs too
UI Action:
script:
function copyAttachments() { var gdw \= new GlideDialogWindow('Email\_Client\_Attachments'); gdw.setTitle("Please be awa...
ServiceNow UI Action to allow a user to select attachments on an incident and auto-email these to 3rd party
Import
·
about 4 years
www.cloudminus89.com
cache
in this case, we want to identify when a duplicate occurs more than 2 times: (as a create event followed by a clear event is expected) - checking on additional\_info.problem\_id:
var sQuery \= ...
ServiceNow GlideAggregate: using arrays to identify duplicate strings: Identify duplicate values in events/alerts
Import
·
about 4 years
www.cloudminus89.com
cache
see
https://community.servicenow.com/community?id=community\_question&sys\_id=4ac2797fdb41af00a39a0b55ca9619f8
How I resolved it:
go to the event> click the ui action 'create event rule'
it se...
ServiceNow Event management: why the additional info box is not showing on the event rule
Import
·
about 4 years
www.cloudminus89.com
cache
Business rules are NOT recommended on the events table for performance reasons
(ServiceNow )
Haven't tested these all recently within global/local scopes, so feel free to have a play! option 1...
ServiceNow Event Management: business rule best practice
Import
·
about 4 years
www.cloudminus89.com
cache
evt\_mgmt.rule\_based\_manual\_closure
(ServiceNow )
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 G...
ServiceNow Event Management: sys property to control if primary alert can close secondary alert
Import
·
about 4 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...
How to raise an enhancement request with ServiceNow (IDEA portal)
Import
·
over 4 years
www.cloudminus89.com
cache
https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/build/service-portal/concept/current-status-widget.html
page & widget:
https://\[instance\].service-now.com/hmcts\_it?id=servi...
ServiceNow Current Status (Service Bulletin) widget
Import
·
over 4 years
www.cloudminus89.com
cache
Remove helptext from a field without DOM manipulation:
var worknotes \= g\_form.getLabel('work\_notes\_list');
worknotes.removeChild(worknotes.lastElementChild);
_another option_
function re...
Helptext manipulation - with or without DOM manipulation (classic UI)
Import
·
over 4 years
www.cloudminus89.com
cache
this will be triggered by tagging the user within a field such as work\_notes / comments
@david jones
[. To minimise on customisation risks we want to avoid creating multiple fields on the Change Requ...
This is for use within scoped applications and you enabled debug via Session Debug > Debug Scopes. To try this out in bg scripts, next to the run button select a scope and then run you gs.debug scr...
select list banner button checkbox on the UI action
function addRelationship() { var sysId \= g\_form.getUniqueValue(); var modalForm \= new GlideModalForm('New Relationship', 'task\_rel\_task');...
Build a related list on task relationship (example: incident caused by changes M-to-M)
Import
·
almost 5 years
www.cloudminus89.com
cache