Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Resolved! How to get sys_id of a record obtained from gliderecord query.

Hi , I am creating a UI action to redirect to a record that is queried from another table.   1.var itemID = current.sys_id;  >>>>  sys_id of record in Catalog Item table2.var ts = GlideRecord('sys_atf_test_suite');  >>>> gliderecord on suite table to...

Karan31 by Tera Contributor
  • 17851 Views
  • 8 replies
  • 0 helpfuls

Resolved! Include Email Subject/Body with Template from Inbound Email Action

Hi All, I have several email inbound actions like the one below to create incidents and apply templates - generateIncidents(); function generateIncidents(){ var parentIncident = createParentIncident(); createChildIncident(parentIncident); } funct...

Community Alums by Community Alums  
  • 1654 Views
  • 4 replies
  • 4 helpfuls

Resolved! Nested GlideRecord is returning undefined

Use case: I'm pulling together a list of users in the sysapproval_approver table using GlideAggregate based on a few conditions. Inside the while loop I'm unable to successfully pass the GlideRecord to the eventqueue, presumably because it's returnin...

Resolved! Inbound email action not adding comment to catalog task

Hello, I have created an inbound email action on the sc_task table to update the parent RITM state and to add a comment to the catalog task. The parent RITM state gets updated so I know the inbound email action is processing properly. However the com...

find_real_file.png find_real_file.png

Resolved! Sending an email notification to a specific email

My team recently received a request to send an email notification to a specific support group email, which normally isn't a problem. However, this email is not defined in any record within ServiceNow.  I know it's possible to add emails in the CC or ...

cre1014 by Kilo Expert
  • 7605 Views
  • 5 replies
  • 7 helpfuls

Resolved! How to get ticket number instead of sys_id.

Hello, I have created two tables 'abc' and 'abc1' and I have added second table 'abc1' table as a related list under first table 'abc'.  I am getting sys_id of ticket id number instead of ticket id number. I should get ticket id number. Can anyone he...

find_real_file.png

Resolved! Hide section in form based on role

Hi there,   Does anyone know how to hide a section in a form based on their role?   I am trying to hide the section "Service_Incident" to all users, only visible to users with the role " LegalServices_Manager"   I have tried the client script below w...

-Andrew- by Kilo Sage
  • 2145 Views
  • 3 replies
  • 4 helpfuls