logo

NJP

News Jace Pro

ServiceNow intelligence for people who need to know what changed.

News, acquisitions, companies, people, events, and public filings in one searchable place. No vendor press-release fog.

The latest

What’s moving right now

Showing stories connected to Ruen Smith. View profile Clear
NJP
Import · over 6 years ago

ServiceNow Broadcast an event to workflow

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\_clear\_skye\_i\_profile' ); grProf . addQuery ( 'status=1^ ow...

Import · over 6 years ago

Working with Linux MID Servers

downloading the agent folder for a manual MID server upgrade: MID Server Stop/Start/Status commands sudo /usr/bin/systemctl stop mid sudo /usr/bin/systemctl start mid /usr/b...

Details →
Import · over 6 years ago

ServiceNow Blank Strings Regex Check

var inValid = new RegExp("\[\\\\s\]"); var bres= inValid.test("thisisatest"); Haven't tested these all recently within global/local scopes, so feel free to have a play! opt...

Details →
Import · over 7 years ago

UI Action Trigger New Approval

this can be used to modify the approver and re-send a new email restricted to sys admins (or whatever role desired) name: Trigger New Approval condition: current.state=='request...

Details →
Import · over 7 years ago

UI Action Test Load 2 records

instead of the ootb test load records which requires certain privileged roles to access, create a new one which can be restricted to the itil role makes a httprequest call to th...

Details →
Import · over 7 years ago

Locate trigger action from workflow

ui action table: wf\_executing name: "Locate Matching sys\_trigger entry" //--server side option: var url='/sys\_trigger\_list.do?sysparm\_query=nameLIKE' + current.sys\_id + '&...

Details →
Import · over 7 years ago

kill old workflows

_this article now superceded by a better solution, go to:_ <http://www.cloudminus89.com/2022/07/servicenow-kill-workflows-executing.html> var sQuery="active=true^started<ja...

Details →
Import · over 7 years ago

Get bits from the URL

get entire url: var instanceURL = GlideTransaction.get().getRequest().getHeader("referer"); get bit of a url: var surl='https://glddev.service-now.com/hr/case\_detail.do?sysparm...

Details →
Import · over 7 years ago

XML Parse example (on ecc queue table)

var grECCQ=new GlideRecord('ecc\_queue'); //var sysid='8929f7ec4fed2700ddd0ecd18110c765'; sysid='2d616f684f2d2700ddd0ecd18110c71c'; if (grECCQ.get('sys\_id', sysid)){ var pl\_xm...

Details →
Import · over 7 years ago

URL link in addInfoMessage

var ga=new GlideAjax('gld\_HR\_ajax'); ga.addParam('sysparm\_name', 'checkEmployeeNumber\_hrProfile'); ga.addParam('sysparm\_hrprofilenumber', g\_form.getValue('number')); ...

Details →