We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! How to compare glide records of 2 different tables and filter data

Hi All, My requirement is to get the list of users who have not submitted time sheet for this week 1. I am getting list of users who are active and who has timecard_user role in sys_user_has_role table var timecardUsers=new GlideAggregate('sys_user_h...

Talya by Tera Contributor
  • 1486 Views
  • 4 replies
  • 1 helpfuls

Resolved! Is it possible to join two arrays this way?

Hello guys, Is it possible to join two arrays this way? var arr = [ "test1", "test2", "test3" ]; var arr1 = [ "test4" ]; I need to join two arrays like this: var arr2 = [ "test1", "test2", "test3" , "test4"];

Work Notes Syntax Highlighting

Is it possible for Work Notes to contain Syntax Highlighting? For instance, users would like to add a work note to an Incident that might refer to some code. For instance the ">>" (Insert) button on this form allows me to add syntax markup like this:...

adaml by Mega Expert
  • 3485 Views
  • 7 replies
  • 2 helpfuls

Resolved! How activate Discovery Plugin in PDI

Hi, can anyone help me with this, while activating discovery i am getting mail like activation failure.Is discovery a free plugin or else need any subscription for pdi

Anjali97 by Tera Contributor
  • 1350 Views
  • 2 replies
  • 5 helpfuls

Try catch in script include

Hi, I am publishing a scripted web service and have code in the script include. For better error handling of an unexpected error, thinking of using try-catch block. Can anybody share a code snippet of how to use a try-catch block for displaying the e...

Geeky by Kilo Guru
  • 25467 Views
  • 6 replies
  • 5 helpfuls

UI Builder - simple record count

Hello folks, I'm trying something really simple here : on button click, show number of incidents in the table.Oddly it only works on the second click, wondering why it doesn't the first time.Here's what I've got: -  a button and stylized text compone...

Module Link Type - URL from Arguments

Hi All, Module Analytics Hub under application Performance Analytics has Argument set to $pa_scorecards.do.I looking for which application file this is pointing to. I tried searching for *pa_scorecards in UI Pages but there was no such record.Module ...

RaghavendraMud_0-1675328709513.png RaghavendraMud_1-1675328709496.png

How to change system language in script

Hi all,we have several languages in our instance.During the processing of the workflow, we have some business logic which is sending data to third party system.Time of sending can be various, it depends on some triggers in the system.Data must be alw...