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

Forum Posts

Resolved! Default value for Catalog Variable using reference field

We have a custom table "u_extended_user_profile" which reference sys_user table using custom field "u_user". Two fields on our custom tables are: u_alternate_email_1 and u_alternate_email_1. On a record producer, we would like to auto populate two va...

MS25 by Mega Sage
  • 2914 Views
  • 4 replies
  • 3 helpfuls

Add watchlist to display BR

Hello, I have a display BR  (from servicenowguru) that displays tickets if you are the caller, on behalf of, or member of the assignment group. I also want those in the watch list to view the tickets. Is this possible? Below is my script.if (gs.getSe...

ceraulo by Mega Guru
  • 282 Views
  • 2 replies
  • 0 helpfuls

Table task

Hi, I have a task where I needed to create a certain field and it should be populated automatically by the system, just for failures, in the user record of the first supporter who handled the call. That is, the first assigned to that will be in troub...

yardenKrispel_0-1703164716174.png yardenKrispel_1-1703164725156.png yardenKrispel_2-1703164746038.png yardenKrispel_3-1703164812331.png

How to Format Date in UTC for Email Template iCalendar File?

Forum Post Title: How to Format Date in UTC for Email Template iCalendar File?Hi everyone, I'm currently working on an email template in ServiceNow that requires populating an iCalendar file. My challenge is with the date formatting. The date variabl...

ericlung by Tera Contributor
  • 762 Views
  • 3 replies
  • 0 helpfuls

Resolved! Script Modification needed

Hi All, I am passing 2 id - test@gmail.com,test1@gmail.comIt is calling the rest message and adding only test@gmail.com. Yes for each userid , restmessage should get looped, As of now it is adding for one user id test@gmail.com Workflow Editorvar use...

Saib1 by Tera Guru
  • 421 Views
  • 5 replies
  • 0 helpfuls

Resolved! Compare Date date/time fields with same sys_id

Hey Everyone,  I'm super new with the date/time fields in SNOW. Basically I want to compare two date/time field values that have the same sys_id for a task.  Below is my code for right now. var incTask = new GlideRecord("task_sla"); incTask.addQuery(...

904.PNG
Community Alums by Community Alums  
  • 500 Views
  • 8 replies
  • 2 helpfuls

Open URL in new blank window

HI Everyone, I have created one UI Action to launch one custom URL. I am using Client side and Server side both in one UI Action. So, to launch an URL I am using gs.setRedirect(URL) . But it opens that URL in same window rather than opening on new wi...

Resolved! JOIN records from two tables

Hello all, I have a table in ServiceNow, called "tasks". In this table I have a Reference field to another table called "workers". In the "tasks" list I can see the name of the worker who is doing the task. I am trying to implement a script that quer...