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 · almost 6 years ago

Prevent high volume spam api calls on task table: my version for Incident table

condition: !gs.hasRole('itil') || !gs.isInteractive() script: (function executeRule(current, previous /\null when async\/ ) { //--see STRY0010718 for full background "Pentest - Limits on non-ITIL user API Calls" //--CONDITION: !gs.hasRole('itil') || !gs...

Import · almost 6 years ago

before query business rule

on sysapproval\_approver table for example, to prevent inactive users from being sent approvals for Knowledge article approvals (function executeRule(current, previous /\null...

Details →
Import · almost 6 years ago

Enable auditing for a table

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 Glid...

Details →
Import · almost 6 years ago

Push sc task worknotes to RITM worknotes

if necessary, personalise the form and add in work notes then code an update business rule on sc\_task (after update ideally; may need to be before update depending on the rul...

Details →
Import · almost 6 years ago

Cancel RITM button

combined client/server UI action onclick: cancel\_ritm() action: he\_cancel\_ritm\_records condition: current.active && gs.hasRole('catalog\_manager'); script: (include add...

Details →
Import · almost 6 years ago

loop round variables - server side

var gr \= new GlideRecord('sc\_req\_item'); if (gr.get('number', 'RITM00106xx')) { var set \= new GlideappVariablePoolQuestionSet(); set.setRequestID(gr.sys\_id); set.load(); va...

Details →