The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

Taking long time to load

Hi, i used below script( code) to hide the variable in request item, but the request item form is getting long time to load because this script use (DOM Approach). it will check each and every variable in the form. So, how to optimise this code to re...

kelango87 by Kilo Explorer
  • 1492 Views
  • 3 replies
  • 0 helpfuls

Business Rule - Before Rule only running once

I have a before business rule that populates a field on the incident table with a value anytime the field is left blank and the user saves or inserts. It only seems to run one time, the first time a user clicks save. I've checked the condition and th...

How to get value of choice list

Hi @ all,i need a client script (onchange) to manipulate a textfield ('name'). To read the value of a textfield ('city') is no problem, but how can i do this with my choice list? I need the actual selected value (or label) of the choice list.Thank yo...

DerErik by Kilo Explorer
  • 6776 Views
  • 1 replies
  • 0 helpfuls

Disable a button or make it readonly

Hi , I have added a new button on the form and its corresponding action. works good. I need to make it appear active conditionally on the form but not hide it. Just to make it disabled when the condition does not meet and not completely hide. Instead...

by  
  • 7531 Views
  • 14 replies
  • 1 helpfuls

Get the name of a Business Rule to use within the rule

I have business rules that use gs.addInfoMessageto present on-screen messages for debugging purposes. I want to include the name of the business rule that's executing the gs.addInfoMessage methods within the messages themselves. Obviously I can just...

Change Message Body to HTML in email client

Hi,Is there a way to change the "Message Text" in the email client to be HTML when composing an email?When sending an email from an incident, it is stripping out the line breaks when it is received even though in the Mail logs it shows fine.I have te...

PeterWiles by Kilo Sage
  • 909 Views
  • 4 replies
  • 1 helpfuls

Trying to run a script, authentication problems

I'm trying script: http://wiki.servicenow.com/index.php?title=Importing_Data_Using_Import_Sets#Perl_ExampleCommand I run: uploadafile.pl --url="https://demo00.service-now.com/sys_import.do?sysparm_import_set_tablename=test_import&sysparm_transform_af...

hafka by Kilo Explorer
  • 1922 Views
  • 7 replies
  • 0 helpfuls

Delete Workflow Link

I may be missing something completely simple, but need to ask anyways. Is there a way to delete a link off of a tool step in the Workflow Editor. I have a step that is linked to two different steps. It only needs to be link to one of them and for the...

jasonb5232 by Tera Contributor
  • 2549 Views
  • 6 replies
  • 2 helpfuls

API for projects and projects tasks

I'd like to get projects and tasks into service-now. Since I can't find a public API to automate this, how would I do this ?The source data comes from various systems which are all flexible in terms of formatting the data in any way so that service-n...

fietske by Kilo Explorer
  • 1479 Views
  • 3 replies
  • 0 helpfuls

Javascript filter for a list collector

What's the easiest way to build a filter from an array? Right now I have a list of sys_ids in an array and I need to build a query of OR for my list collector so if the sys_id matches ANY of the ones in my array it shows it.I looked at array.join but...

by  
  • 1892 Views
  • 5 replies
  • 0 helpfuls

Adding a Hint to a Field

Hi -I am tyring to a hint to one of my fields, which has a two part name - and I keep ketting an error message. Hint will not save because the label description is trying to save the field name as a script and that keeps giving an error.Does anyone h...

tsam by Kilo Explorer
  • 1823 Views
  • 5 replies
  • 0 helpfuls