Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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

Forum Posts

Pop-Up/Alert Window - Client Script

Looking for a script that will check if a caller's mobile number is empty on the User Table. If so an alert message should pop up? Is this easy to do? Thanks for in advance for any advice.

rachellesan by Tera Contributor
  • 4995 Views
  • 1 replies
  • 0 helpfuls

Resolved! How to determine if a given date is within a given schedule

Im trying to determine if a given date is within a given schedule.I am not able to follow the following article as there is a note saying: "Functionality described here is obsolete"http://wiki.service-now.com/index.php?title=Verify_if_dateTime_is_Wit...

KamalM by ServiceNow Employee
  • 7473 Views
  • 5 replies
  • 2 helpfuls

Add a Preview Link for an HTML Field

Hi.Because the HTML field doesn't show what exactly the content will be, we are trying to create a "preview" link in the KB submission, such as in the Catalog item, but for the solution.I attach how the preview is set up for the Catalog item, but I h...

Using ServiceNow PERL API to access cmdb_ci_outage table

Hello All! Second post here, thanks in advance for the help. I had previously written the forums asking for help with querying the cmdb_ci_outage table , piping those results to a flat file. I was able to do so successfully using the ServiceNow ODBC ...

icalderus by Kilo Contributor
  • 2595 Views
  • 17 replies
  • 0 helpfuls

Random "undefined" sys_id returned for an incident record

Got a situation here that i dont understand, hope you can help.On the Metric_Instances table we have a requirement to have a reference to the Inicdent table on it, despite there already being an Doc Id field already.Anyway, for new instances created ...

MarkGlen by Kilo Contributor
  • 2181 Views
  • 2 replies
  • 0 helpfuls

dot walk in a reference qualifier

is it possible to dot walk in a reference qualifier?something like:"u_parent.u_nameSTARTSWITHincident"this particular syntax does not appear to work, is this sort of thing possible? or do i have some syntax wrong?

chazz1 by Mega Contributor
  • 2878 Views
  • 3 replies
  • 0 helpfuls

Email Notification on User Login

In our deployment, I have created an emergency admin account that will allow a few members in my department administrator access to the instance if the normal admin, myself, is unavailable. However, I want to ensure that this account is not used unle...

aalarco4 by Mega Contributor
  • 4077 Views
  • 3 replies
  • 0 helpfuls

Changing or Creating a new getMyGroups() function

I was curious to see if anyone had created a new getMyGroups() function and if so how they did so. We are running into issues where we want to get a users groups but we do not want to pull back the parent groups. With the current function it will pul...

Hide Attachments based on Assignment Group

I have a request that I am trying to fulfill, but am having trouble coming up with something. Does anyone have any scripts or any ideas on how to make this happen?I need to hide all attachments on an incident ticket when the Assignment Group= a certa...

dandubay by Kilo Contributor
  • 3060 Views
  • 4 replies
  • 0 helpfuls

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
  • 5530 Views
  • 6 replies
  • 0 helpfuls