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 5 years ago

Determine ServiceNow Subscriptions/Licenses in the prod instance

Note: possible on the production instance only as this info is not copied down to lower environments during a clone see [Subscription Management | ServiceNow Docs](https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/subscription...

Import · over 5 years ago

get a field value in the glideAggregate

Must include a groupby clause in order for the getValue (or getDisplayValue() on a reference field) to work var REQsysid\='3eac6cbddb75a81081fb49a23996xxxx'; var agg \= new Gli...

Details →
Import · over 5 years ago

GetRowCount() versus GlideAggregate

GetRowCount is not best practice, instead use GlideAggregate see [getrowcount](https://developer.servicenow.com/dev.do!/reference/api/orlando/server%5Flegacy/c%5FGlideRecordAP...

Details →
Import · over 5 years ago

Array push not working in while loop

this is not working - the first sys id is added twice var arrSYSIDS \= \[\]; while (gr.next()) { arrSYSIDS.push(gr.sys\_id); gs.print(gr.sys\_id); } SOLUTION: try this instead...

Details →
Import · over 5 years ago

Pass parameter to script action

1\. Create an event. 2\. Create Script Action attached to the event. 3\. Fire the event from the UI Action with the required parameters. Haven't tested these all recently wi...

Details →
Import · over 5 years ago

getJournalEntry: retrieve ticket notes

current.work\_notes.getJournalEntry(1) gets the latest entry. current.work\_notes.getJournalEntry(-1) gets all entries. [GetJournalEntry (Quebec version)](https://developer...

Details →
Import · over 5 years ago

Workflow logging [workflow.info]

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 · over 5 years ago

Workflow variables / trigger a workflow

workflow variables: see <https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/using-workflows/concept/c%5FUsingVariablesInAWorkflow.html> trigger a work...

Details →