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
  • 11596 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
  • 10422 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
  • 37851 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
  • 2771 Views
  • 1 comments
  • 1 helpfuls
Top Contributors