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

Forum Posts

Append to the short description via client script

I would like to append text to the current "short description" of a task from a client script. Below is what I have:function onSubmit() { var action = g_form.getActionName(); var task_state = g_form.getValue('state'); var task_sd = g_form.getValue(...

Understanding how cmdb_ci_rel works

I have been trying to understand the way cmdb_ci_rel keeps track of directionality between related CIs. Two things are tripping me up:1) The columns are named Parent and Child, but the relationship type *sometimes* implies the inverse.2) There are ou...

JeffOnline by Tera Contributor
  • 6617 Views
  • 6 replies
  • 0 helpfuls

How to rename Related List Label by Client Script

Hi,is it possible to rename a label of a related list on the form using client script? I have a custom cmdb with objects related to itself in "parent" field. These have a type field.I would like to change the Label due the type of related objects. Be...

Kostya by Tera Guru
  • 3054 Views
  • 3 replies
  • 0 helpfuls

Get Display Value from Choice List

Hello,I created a UI Action where I query a table from the CMDB and update data on a form with the results on a Catalog Task page. One of the values I am retrieving is a Choice List and I would like to get the display value and populate on the other ...

mdidrikson by Kilo Contributor
  • 6158 Views
  • 3 replies
  • 0 helpfuls

Creating a OK/Cancel dialog box

Hi everyone, I created a simple UI action that works the way it should. When a user clicks on the button, I want them to be greeted with an OK or Cancel dialog box. Ok would continue with the action and cancel would obviously keep them on the same sc...

Mikolz by Kilo Contributor
  • 5916 Views
  • 4 replies
  • 1 helpfuls

getEventTarget() called with invalid table name:

I have created a business rule which checks periodically if a change request is still open 24 hours after its end_date. If so it fires an event that sends out an email notification.The problem I am having is when the business rule runs and fires the ...

bburdick by Mega Guru
  • 5377 Views
  • 6 replies
  • 3 helpfuls

Adding conditions to an URL

Hello everybody.At the moment I am trying to pull data from a service now instance through a .net script that was provided by the Service Now wiki.In that script is a url to which the script runs to get its data. In my case i get the data in a CSV fo...

Peekster by Kilo Explorer
  • 2226 Views
  • 2 replies
  • 0 helpfuls

Call to API only returns Exception: HTTP 302: Found

Executing any API call (I have tried several) only returns the above mentioned HTTP 302. The following code is typical of the attempts. the credentials have been marked out for security. What does 302 REALLY mean in this instance and how do I allevia...

Insidious by Kilo Contributor
  • 4434 Views
  • 2 replies
  • 0 helpfuls

Assign user to Servicenow Group based on Windows AD Group

I'm looking to assign users to a group in servicenow based on what group they are in AD. The reason for this is the AD group names aren't what we want for servicenow. We have about half a dozen groups so a script that looked for certain AD group name...

SquishyDave by Kilo Explorer
  • 2916 Views
  • 3 replies
  • 0 helpfuls

Toaster popup for notifications

Hi Service-now.com community. I am just curious to see if any of you have thought of (or even configured) a toast style popup for notifications from the system? For example, in order to notify a user that a ticket has just been assigned to them, rath...

amurray by Kilo Contributor
  • 3967 Views
  • 3 replies
  • 0 helpfuls

Return the Previous field value using GlideRecord Query

In a Business Rule, we have access to the current values in a field (current.fieldname) as well as the previous values (previous.fieldname). The fields for which we can access the current and previous values are those on the table against which the B...

Changing Mail From and/or Reply To?

Currently we are using ServiceNow's SMTP server for sending out emails. It is causing confusion to our customers when they receive emails, sometimes even mistaking the emails as spam. We were wondering if it's possible to change the mail from alias o...

SC10 by Kilo Guru
  • 7328 Views
  • 11 replies
  • 0 helpfuls