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

Forum Posts

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
  • 2879 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
  • 4011 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
  • 6765 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
  • 4642 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
  • 7549 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
  • 3061 Views
  • 1 replies
  • 1 helpfuls

Save button now working in Workspace

Hi everyone,  I am building a workspace in my PDI and I have added a submit incident button but it is not working. It shows up in the regular UI but does not show up in the workspace even though workspace form button is checked and I've even tried ch...

find_real_file.png find_real_file.png find_real_file.png
Tylerjknapp by Tera Contributor
  • 5320 Views
  • 12 replies
  • 2 helpfuls