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

Reference field display value on only one catalog item

So I am creating a new item for our catalog. One of the requirements is that our Department field, which is a reference to the department from the user profile, displays the 'department.id' + 'department.name' which is from the cmn_departments table....

Resolved! Transform synchronously BR is throwing error

Hi,While inserting the data from SOAP to service now it is working fine. incident number has a coalesce. When try to update the data by passing the incident number, it is getting inserted in the import set table with the following error:Operation aga...

anasuyaray by Kilo Expert
  • 6900 Views
  • 2 replies
  • 4 helpfuls

Resolved! How can I avoid the "No response for ECC message request with sysid=xxx after waiting for 30 seconds in ECC Queue" message?

Hello ServiceNow Community, We are currently running London, Patch 7, and I have the following section of code in a Scheduled Job: var r = new sn_ws.RESTMessageV2('AirWatch REST Message', 'get'); r.setStringParameterNoEscape('PageNumber', page);  // ...

How to insert a label_entry via REST API?

Hi all,I tried to create a label_entry via REST API, the label_entry is created but the field table_key is empty./api/now/table/label_entry {"label":"630086900f23320050c8cfdce1050efc","table":"incident","table_key":"7e1146100f23320050c8cfdce1050e5f",...

wimjongman by Kilo Contributor
  • 2030 Views
  • 6 replies
  • 1 helpfuls

Resolved! console.log() in a widget server script

If I execute console.log() in a background script I get a javascript error (console is not defined). But in a widget server script, the message appears in the Chrome console. What's up with that?

Resolved! Data Source With GZIP file

Hello All,    I need your help about importing data from a data source in Service Now. A tool in my company are exporting us data in csv format compressed in gzip format.  If I try to import this file in the data source the import doesn't work. But i...

Alex275 by Tera Expert
  • 3058 Views
  • 10 replies
  • 3 helpfuls

Resolved! Check if record was inserted or updated in async business rule

Hi there, So in our situation, we have an external system with which we need to synchronize cases opened in ServiceNow. We have created a business rule in order to do so, in which javascript code is used to do a POST or PUT depending on whether the c...

Louis H by Tera Contributor
  • 5625 Views
  • 6 replies
  • 5 helpfuls

Resolved! Set CSS colour using widget options

I'm pretty sure I'm missing something fundamentally simple here... I've created a 'Salutation' widget that simply displays "Hi, <User displayname>".  I've got the server script and HTML template working correctly to display the user name. I plan on u...

adrianps by Kilo Expert
  • 3643 Views
  • 11 replies
  • 3 helpfuls

Resolved! Dynamic number of approvals

Wondering if anyone has done anything with regards to dynamically handling the number of approvals in a single workflow. The idea is that something needs to go through a series of inline approvals, meaning each approval is created after the previous ...

Resolved! execute() vs executeAsync() in Script Action

To reduce waiting time for our users, I am making an API call via our MID server from a Script Action (I also need to process the returning body/message), but is there a difference between using execute()+setHttpTimeout vs executeAsync()+waitForRespo...

ColK by Tera Guru
  • 5947 Views
  • 3 replies
  • 0 helpfuls

Resolved! Business Rule - Adding break in HTML

i all,This is what I am trying to accomplish:On table_a I have a variable called u_update. It is a string field. When the record on table_a is closed, I want it to take whatever the user put in u_update and populate it in table_b in current_update. c...

Populate Assignment Group based on CI/SO

Hey Guys,   I have requirement here it goes On Change Request Form, when we change "Service" and "Configuration Item" then the Assignment group should be auto populated based on CI/SO  Installed  Plugin (com.snc.best_practice.itsm_csdm.quebec) Busine...

AnilM99 by Tera Expert
  • 2528 Views
  • 1 replies
  • 0 helpfuls