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! Scripts not working for non-Admin

I built a custom application and on one instance it works great but when trying to pull the update set it messed up. So I ended up rebuilding it completely on a different instance and it work the exact same (for admin). But when I impersonate a user ...

How to create a link to close the current window?

Hi,With my instance's SSO restrictions, some links within ServiceNow I have to force to open in a new window.Does anyone know an easy script I can use the close the previous window? I've been trying this to no luck:<a href="nav_to.do?uri=u_incident_r...

MG Casey by Mega Sage
  • 2241 Views
  • 1 replies
  • 0 helpfuls

Resolved! Retrieving Approval record from within Request Item

I am currently trying to write a script that will retrieve the approval record associated with a request item.The script is run within a notification that is triggered through an event (raised in a workflow).Within the workflow I have an Approval tas...

Resolved! Filters disappeared for one user only on one table

Hi All,  Bit of a peculiar one....  I have one user who cannot see any of the filters (even if created by themselves) in the Filters section on the incident table (in the Box where the options of View, Filters, Group By, Show + Refresh List).  The op...

alan_ta by Mega Contributor
  • 2960 Views
  • 6 replies
  • 0 helpfuls

Resolved! search for Text in Business Rules

Hello Implement,  When the assignee is changed on a project task the project short description was changedon several projects.In the System Log Statements an entry with Message 'Project found - OPS0000137 Test 140703 10:00 Ops Project: OPS0000151 - P...

Troubles with Client Session data

Hi,I can't get putClientData() and getClientData() to work for me for some reason.http://wiki.service-now.com/index.php?title=Session_Client_DataThe Script Action is fired by 'session.established'.It simply contains: gs.getSession().putClientData('my...

jaakko_jalo by Tera Contributor
  • 5338 Views
  • 5 replies
  • 0 helpfuls

Resolved! Embedding Link in Incident Record

I'm in the process of creating repeat incidents to replace our daily service desk check list however some of the checks reference links to internal server resources and for that reason I would like to embed a clickable link to a UNC path in an incide...

amacqueen by Mega Guru
  • 2037 Views
  • 8 replies
  • 0 helpfuls

Resolved! Need help formatting comments field in email notification

I want my email notification to customers to be easy to read just like first example.   Currently in my environment, the email includes the email threads which makes it hard to read.   How can I get rid of the thread part (Please see the emails in bl...

purple123 by Kilo Explorer
  • 4185 Views
  • 7 replies
  • 0 helpfuls

Resolved! How to get a group to populate in a field?

Hi all,  So I am not very experienced with this but I am trying to write a script to have a group populate in a custom field in the User table. The custom field is u_default_group. I think I have to create a Business Rule for this and have written s...

Kara.PNG
YenGar by Mega Sage
  • 4272 Views
  • 13 replies
  • 1 helpfuls

Resolved! Possible to create Scheduled Task?

We have a requirement for a TASK to be created, yet not appear in the Service Desk queue until a certain date.  Or, the ability to create a TASK, and then place it "on hold" or make it "hidden" until a certain date. (IE. If a laptop was loaned to a d...

ryan86 by Kilo Expert
  • 5284 Views
  • 3 replies
  • 2 helpfuls

Resolved! Glide record query with and operator

Hi all!I am having trouble with the following code. I have a table with 3 columns (product, subcategory, assignment group) and I am trying to build a client script to query that table when there is a change to the incident subcategory field where the...

Resolved! Can you create a dynamic group?

Haven't really had a reason for this before, but can you create a dynamic group in ServiceNow based off of characteristics on a User record?We have a custom field on the User records called "Is Manager".   I'd like to have a group in ServiceNow that ...

robpickering by ServiceNow Employee
  • 4421 Views
  • 7 replies
  • 0 helpfuls

Customizing a catalog item title

When we open a catalog item from the service catalog, the title value on top header is same as that of name value when you open that item in maintain items table. Is it possible to customize the title value as different than that of Catalog Item name...