Sam

Sam's ServiceNow adventures

A place where to share about ServiceNow platform and technologies

Using remote tables in ServiceNow

Smoke tests with remote tables functionnality

Sam

17 minute read

What are remote tables

Since the New York release, ServiceNow offers a new functionality called remote tables.

Remote tables allows to query and retrieves data from other systems, via REST/SOAP and use them almost seamlessly in service-now.

The remote table can be used like a standard, local, table:

GlideQuery Cheat Sheet

an attempt to document GlideQuery functions and methods

Sam

6 minute read

This is a draft Cheat Sheet for the GlideQuery. Please see this post for a detailled introduction. This cheat sheet was build with elements gathered from presentations and blog posts and also from reading the script include. It may not be accurate, might evolve and all comments and corrections are welcome ! invoking GlideQuery In a similar way that GlideRecord, the table name is passed as a parameter: var myTable = new GlideQuery('table_name'); Cheat sheet Selections, insert, update get() Returns a single record by querying primary key key.

High order function in script include, accessing the context (this)

how to access this context when using high order functions in a ServiceNow script include.

Sam

5 minute read

In the Service-Now script includes (or in Javascript in general), the context of the this in not reachable when using high order function.

This might be obvious for some of you, but it was not for me and I struggled some time to achieve what I wanted in a clean manner. Hence this post.

Enable PlugIn

Using script to enable a PlugIn

Sam

1 minute read

This is a quick note about how to enable a PlugIn by script var pluginArr = ['com.sn_glidequery']; var pluginMgr= new GlideMultiPluginManagerWorker(); pluginMgr.setPluginIds(pluginArr ); pluginMgr.setProgressName("Plugin Installer"); pluginMgr.setBackground(true); pluginMgr.start(); Reference Ashby, NOW community - Activate plugin via script / automatically, accessed 2020 06 10

Recent posts

Categories

About

This blog is a personnal blog from Samuel Meylan about ServiceNow technologies and other business related topics.

Sam is a ServiceNow Senior Developper and technical consultant with more than 8 years of experience. He particularly like making integrations and solving complexes requirements.

He also enjoy discovering new and enhanced features shipped with each ServiceNow release.