Quantcast
Channel: ServiceNow Community - Post implementation
Browsing all 108 articles
Browse latest View live

De-referencing current record in a GlideRecord query

In an effort to componetize my code, I have the following javasript class method: // Return a list of SalesOrderSiteInfo records that are related to the current (SalesOrder) record...

View Article


Override Syntax Checker

Hello.Is there a way to override the script syntax checker on Client Scripts? I am trying to use a line continuance in a DOM script however the syntax checker keeps me from saving/testing. Is there a...

View Article


SOAPMessage Workflow Activity

I am setting up a workflow to call a webservice using the SOAPMessage activity. The webservice takes a list as a request parameter...

View Article

Field Style for incident SLA warning and breach

Hi thereIve been asked to set up a style rule which changes the background of the incident number field to orange when the task sla reaches 80% (warning) and red when the task sla is breached.Any ideas...

View Article

How to interactively show/hide custom fields/form sections for IT users –...

Here is a problem:We need to be able to show/hide some Request (custom table) fields, based on a selected subcategory. What is the best approach to do that? (see screenshot attached) - We can use form...

View Article


How to hide an incident form while it's loading?

Is it possible to hide an incident form while it's loading?We have a huge form with a number of hidden fields/form sections but when it's loading users can see all of those until UI policies hide them....

View Article

Switch Statement in Task

Hi all,I am trying to make a switch statement inside of a task however I don't understand why this isn't working. The short description and description both come up blank when I use the function. When...

View Article

Image may be NSFW.
Clik here to view.

Display field as plain text (not in a text box)

I would like to display the contents of a field as plain text in the incident form and not in a text box. This is useful as our technicians use a click to dial plugin in their browsers. This plugin...

View Article


current.setAbortAction(true) causes the error message 'Invalid update'

Guys, I got stuck with current.setAbortAction(true) in a business rule... I have a simple business rule on an incident table: When: Before Update: yes Condition:...

View Article


Is it possible to purge "Loaded" Update Sets from Production instance?

We have a number of "Loaded" update sets in the production instance that will never be committed. We'd like to permanently remove these.Given they're still in a "Loaded" state, is it safe to simply...

View Article

Creating Change Record using glideRecord functions. But not returning the CR...

Hi,I am able to create a Change Record (CR) using below PERL script using $glideRecord->setValue() , $glideRecord->query() and $glideRecord->update() functions. But these functions never...

View Article

Interactive Charts and Jelly

Hi Guys, I’m working on some nice charts in ServiceNow, which are based on morris.js components (http://www.oesmith.co.uk/morris.js/). It’s really simple and there are no problem if you just want to...

View Article

Task Email Notifications not being sent

Ok, so here's the situation . . .I created a workflow for a specific catalog item that is WAAAAAY too complicated. Honestly, its ridiculous. But it works. Actually, it almost works.The flow works very...

View Article


Show field based on another fields content

I have created a field on the Incident form that I would like to remain hidden unless certain users are added to the Assigned To field, at which time I would like it to become visible and mandatory. I...

View Article

Modify the columns in SDLC Planning Board?

Is it possible to modify the list view on the SDLC Planning Board? It says it is using the SDLC view, but it is clearly not. It only shows Number, Short Description, Priority, and State. The SDLC view...

View Article


How to make a reference to a CSS file?

Guys, do you know how to make a reference to a CSS file in UI page? I tried several options with  <link type="text/css" href="... , but with no success. I want to upload CSS file to SN instance and...

View Article

How to make your ServiceNow instance unavailable in one simple step (BE CAREFUL)

Guys, I found that there is a simple way how to make your SN instance unavailable... I was playing with UI scripts (jQuery scripts) and unintentionally set Global to 'true' for some scripts. That...

View Article


UI Action to set Assignment group and Assigned to, to the Opened by user.

I am looking to have a UI Action that would set the Assignment Group and the Assigned to fields to the Opened by user and the group and will take the log on user back to the list view. I am not to good...

View Article

email notification when LDAP connection is broken

Is there a way to generate an email notification when the connection between ServiceNow and the LDAP server breaks? We recently had this issue and I saw entries in the LDAP logs when the scheduled...

View Article

Styles Problem

I'm trying to highlight a business service on an incident record using styles but do not appear to be getting anywhere with it I'm afraid.The business service has a field name u_business_service and...

View Article
Browsing all 108 articles
Browse latest View live