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

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
  • 25390 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...

How to determine who and when was the database index created?

Hi,In custom table configuration in Database Indexes related list indexes records were created automatically for reference fields (u_tags and u_user_id_json). Each time I refresh this updated and created field is changes to current data/time. Why it'...

miro2_0-1675118387508.png miro2_1-1675118747944.png
miro2 by Mega Sage
  • 1286 Views
  • 3 replies
  • 2 helpfuls

Resolved! Help with advanced reference qualifier

Hi All ,  I am new to reference qualifier. I have a task to set reference field look up in such a way that , it should sort look up according to whatever is populated in that reference field . For example: 1. I have one reference field on cases and i...

ft1.PNG ft2.PNG

Multiple email notification

I created a catalog where once submit a request a notification will be sent to a specific persons. However, as I run a test and check email logs, I saw 3 email notification sent. See attached file.

Vengeful by Mega Sage
  • 1031 Views
  • 6 replies
  • 0 helpfuls

Time Card Portal Configuration

Can anyone help point me to the configurations that control what Tickets are listed on the left of the time card portal under Tasks/All Tasks?  Currently, our portal only shows tickets that have a time card created against them.  We would like to sho...

Resolved! How to sync Parent group members to Child groups

Hello!   Looking for a business rule or SI to sync parent group members to child groups when a new members is added to a parent group.   I had created a business rule on the group member table; however I'm not having any luck.//check if group is a Pa...

billi_lumley by ServiceNow Employee
  • 6194 Views
  • 16 replies
  • 4 helpfuls