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

Forum Posts

Ampersands (&) breaking SOAP message

Hi All,I am using soap messaging to send tickets from instance to instance. The problem I am running into is that ampersands are breaking the soap message. When an "&" is in the message in any text field, the message will not be sent. I am opening a ...

tbalestreri3 by Mega Contributor
  • 1501 Views
  • 3 replies
  • 0 helpfuls

Transform Map - Mapping Assist

Hi,I am receiving the data from file and need to load it using transform Map.File contains the following data1). USer Id2). first name3). Last name4). Dept ID5). Dept NameI want to followng things1). Update User table based on USer ID2). look up for ...

Ruchi19 by Mega Contributor
  • 3791 Views
  • 6 replies
  • 0 helpfuls

Global Variable for Business Rules

Hello,Is it possible to set a global variable or property that all Business Rules would have access to?We want to set a variable to be an endpoint value we use for XML web services calls and we want to keep our test environment value from being accid...

mdidrikson by Kilo Contributor
  • 1719 Views
  • 2 replies
  • 0 helpfuls

sys_created_by (USER ID) to Name in script

Hi All,The sys_created_by field when creating an incident returns the USERS ID which for us is employee number. How could I convert this to their name? s.setParameter('sys_created_by', current.sys_created_by);

tbalestreri3 by Mega Contributor
  • 5301 Views
  • 5 replies
  • 0 helpfuls

Reference glide_list in Script (for loop not validating XML)

Scope: Filter on-call calendar drop down by using a glide_list (array) of values. This could be used in multiple variations on what the glide_list would actually reference. For me, it is a new field on the company table referencing other companies. W...

ctrusty by Kilo Contributor
  • 1628 Views
  • 2 replies
  • 0 helpfuls

Data Import from CSV file Help

I am trying to load the data from CSV file which is '|' pipe delimited.I created a new data source as described in wiki with attachment file. but when i loaded the data, it didn't read by column. I have attached the snapshot how it looks.http://wiki....

Ruchi19 by Mega Contributor
  • 2919 Views
  • 8 replies
  • 0 helpfuls

getActionName()

Is there a way to determine this? I found a small "script" in the wiki that generates an output. I just wanted to know if there's a naming convention in this.e.g. my table is namesomething_tasksand i want to simulate the same behaviour I have in my i...

Krischan by Giga Guru
  • 5190 Views
  • 3 replies
  • 0 helpfuls

Need help with "sc req item events" Business Rule

We need the "sc_req_item.inserted" event to also fire if the "Request.Requested_For", changes. So, we need it to fire when the Item is requested, like it does now but we also need it to fire if the request.requested_for changes to someone else, so th...

alhicks by Tera Guru
  • 2277 Views
  • 7 replies
  • 1 helpfuls

Conditionally skipping records in a Transform Map script.

I am importing records from an Excel spread sheet. I need to be able to conditionally skip records. In my transform map script, I do something very similar to the following: var incident = new GlideRecord("incident");incident.addQuery("", source.fiel...

dstuart by Kilo Expert
  • 5769 Views
  • 5 replies
  • 1 helpfuls

Security: determinig if current user can read a specific record

Hi,I our scenario we are trying to restrict supporter access to certain incidents. The idea is that supporters may only read incidents that have a "service" assigned (a reference field on the incident to a custom table) they are able to read. The cus...

ctu1 by Giga Expert
  • 5835 Views
  • 3 replies
  • 0 helpfuls

CTASK Questions

Hello,I'm a bit new to Service Now forms development so this may be a bit of a rookie question.We have a process where once a user creates a new Change Record and Saves it or submits it for approval, they can then create Change Task records that can ...

mdidrikson by Kilo Contributor
  • 10095 Views
  • 17 replies
  • 0 helpfuls

UI page - HTML section - difference between <g> and <g2>

Hi,Just trying to understand the difference between <g>and <g2>In a UI page - HTML section I have the following :// This is treated as code and returns the results<g:evaluate var="mynames" jelly="true"> var gr= new GlideRecord('u_platfs'); gr.quer...

jarrejo by Kilo Contributor
  • 5076 Views
  • 2 replies
  • 3 helpfuls

Replace \${sysapproval.URI_REF} with the word "here"

Using [Click ${sysapproval.URI_REF} to launch Service-now and go directly to this Request for Change.] results in the sentence:[Click CHGxxxxxxx to launch Service-now and go directly to this Request for Change.] where CHGxxxxxxx is the Change Request...

Sharee1 by Kilo Contributor
  • 1483 Views
  • 2 replies
  • 1 helpfuls

Call Script Include from UI Page

I've read on the wiki that you can call Script Includes from the HTML section of an UI page. http://wiki.service-now.com/index.php?title=UI_PagesBut when I try the following script:-- begin of script--gs.include("MyInclude"); var foo = new MyInclude(...

hloredo by Kilo Explorer
  • 3480 Views
  • 4 replies
  • 0 helpfuls