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

Forum Posts

Convert sys_id to displayed value

Hi All,  I'm very new to service-now development and I'm currently working on developing a form in catalog item where someone can request to have a server rebooted.  I have a server field on the form that when updated with a servername I would like t...

SNRKY by Kilo Contributor
  • 6472 Views
  • 2 replies
  • 0 helpfuls

How to name column names

Hi All  When creating a new column, the column name is a combination of "scope" and "column label". What should I do if I use column names without the scope?  

find_real_file.png
Koya1 by Kilo Explorer
  • 2374 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to Hide the Search Bar on a List Collector?

I have a list collector, and there is a script which displays the valid choices for the customer to choose from from a table, but some customers use the search bar to find values in the table that are not valid choices for this particular request. Is...

find_real_file.png
garth by Kilo Expert
  • 2562 Views
  • 4 replies
  • 1 helpfuls

Resolved! How to get field value from g_from.getValue() instead of sys_id?

I need to set value to the field 'u_reserved_by'. Please help me how to get field value instead of sys_id for the below highlighted statement.function onSubmit() {   g_form.setValue('approval', "Approved");   g_form.setValue('u_status', "Reserved"); ...

mdrafi by Mega Expert
  • 35601 Views
  • 11 replies
  • 13 helpfuls

Resolved! Need assistance with List Collector Workflow Approval

I have this script (found on community) and it's working.  It pulls the list of approvers and adds to the RITM approval record.  Some of the items in list collector variable (teradata_options) have multiple approvers and we only need 1 approval for e...

find_real_file.png find_real_file.png find_real_file.png
alhicks by Tera Guru
  • 2819 Views
  • 3 replies
  • 0 helpfuls

Inside ATF, is it possible to get a record count?

I am wondering if there is a way to get a record count inside an ATF test. My situation:  my test is placing a catalog order through the Service Portal.  I can see the REQ that was created, and the RITM as well, using "Record Query" test step.  After...

Resolved! Change label name on form for referenced field?

I've added caller.department.name to an incident form view but on the form it displays the label as "name" I tried to change the label using configure > form design but even though it lets me change it and save, the changes do not persist. Is this po...

RichGK1 by Mega Expert
  • 4015 Views
  • 3 replies
  • 9 helpfuls

Handling Time-Zones in ServiceNow (TimeZoneUtils)

This is from an article I wrote for SN Pro Tips. If you like this, feel free to check out the rest! Dealing with Time Zones in ServiceNow can be a real nightmare. If you want to know what time it is in a different time zone, you're out of luck, chump...

Resolved! Field Style on Dot Walking fields?

Attempting to duplicate the VIP 'Caller' functionality seen on the Incident list to the 'Requested For' field on Catalog Task & Requested Item lists. As Field Styles do not seem to support dot walking is there another way to accomplish this without a...

RW-43 by Tera Contributor
  • 2404 Views
  • 3 replies
  • 1 helpfuls

Add user reply to Additional Comments

Hello, Currently, when user replies to the email from the system, the reply goes to Work Notes section. Our customer would like it to go to Additional Comments. How can we achieve that? I already modified the inbound action with following line: curre...

Dawid2 by Giga Guru
  • 1991 Views
  • 1 replies
  • 0 helpfuls

Why do delegates receive all notifications when the documentation clearly states they only will receive change control notifications?

The documentation on delegation is pretty clear: Specify the responsibilities the delegate will assume using the following check boxes. You can delegate: Approvals: The delegate can approve items on your behalf.Assignments: The delegate can view an...