Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Developer articles
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Articles

Copy Attachments better with Subflow

For the longest time, the go-to method for copying attachments across various records in ServiceNow has been business rules utilising the GlideSysAttachment class. But this approach usually backfires when we try to copy attachments bi-directionally, ...

copy_attachment_subflow_name.png copy_attachment_subflow_properties.png copy_attachment_subflow_inputs.png copy_attachment_subflow_action.png

Get Protected Script Include Code

We can get all the functions created in the protected script include using below code. var instance=new scriptIncludeName(); /**name of script include**/ var list=[]; for(var prop in instance){ gs.info(prop); var temp=instance[prop] instance...

Personas and Roles - Bringing order to access chaos

Managing access to specific users or groups of users can be confusing. It is helpful to agree on terminology in the first place:   A role (in the ServiceNow context) is a type of configuration that links users or groups to specific access rights (lik...

saschawildg by • ServiceNow Employee
  • 13642 Views
  • 1 comments
  • 8 helpfuls

Peer Review Checklist

Why execute Peer Reviews? A review from a peer (eg, another developer) is essential to help reduce human error and close quality gaps. Nothing is perfect and that is especially true for configuration. Spotting issues as early as possible reduces risk...

Daniel Pettet by • ServiceNow Employee
  • 11880 Views
  • 7 comments
  • 13 helpfuls

Display Business Rule and g_scratchpad

Hi, In this article, I will explain the usage of Display Business Rules and g_scratchpad with 1 small requirement Requirement: When creating a new problem task from Problem view i want to populate few fields of problem into the problem task such as A...

find_real_file.png
asifnoor by • Kilo Patron
  • 41208 Views
  • 8 comments
  • 47 helpfuls

Sync Comments and Work Notes without Duplicates

In the ServiceNow ecosystem, we frequently encounter the requirement to synchronise journal field entries, such as Work Notes or Additional Comments, between related task records. The most straightforward approach is to use business rules. This metho...

copy_work_note_business_rule_record.png copy_work_notes_business_rule_script.png

How to add field to a Lookup Select Box?

This article is about showing how one can add a field to Lookup Select Box. By default the lookup select box references a table to populate values. i came across a case where I needed to display values on RITM form but not on Portal. This was a trick...

Amol4 by • Tera Contributor
  • 3035 Views
  • 1 comments
  • 1 helpfuls

Subscription-based Table API

ServiceNow Table API. It is available baseline for all tables, easy to use ... and not so easy to grant/deny access and control what records and attributes can be used by each integration. Giving baseline roles, such as cmdb_read for CMDB, itil to ac...

Subscription Table API.jpeg Data Table Configuration.JPG Account Subscription.JPG Subscribed Table.JPG

UI Builder - Control visibility of 'Side navigation' Pages

In this article, we will see how to restrict the visibility of Side navigation in Workspace:     The name of the Side navigation pages are:     Requirement(s): Home should be visible to all.List should be visible to users either with 'itil' or 'adm...

SN_Learn_2-1751354845844.png SN_Learn_3-1751355037241.png SN_Learn_4-1751355408840.png SN_Learn_5-1751356366507.png
SN_Learn by • Mega Patron
  • 4160 Views
  • 4 comments
  • 3 helpfuls
Top Contributors