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

Forum Posts

Resolved! Async business rule deprecated

Hi All,   We have recently upgraded our customer instance from Qubec to Sandiego version and as result of the upgrade following changes are found: 1. Business Rules when to run "async" condition deprecated.  We have 80 BRs in total with the deprecate...

Indira8 by Kilo Sage
  • 3269 Views
  • 5 replies
  • 1 helpfuls

Resolved! SP entry script include explained

Can some one explain this code /** * * Service Portal sample script include to indicate * 1. which login page should be used * 2. the starting page after the user is authenticated * * Script is configured using system properties * P...

RudhraKAM by Tera Guru
  • 8818 Views
  • 4 replies
  • 3 helpfuls

Resolved! Create a record in the task_ci_list table for 2 sys_id’s. 

Create a record in the task_ci_list table for 2 sys_id’s.  Here's what I have scripted so far.     var sysid = new GlideRecord("task_ci");    sysid.addQuery('sys_id','=','4c4148471bcdd51070fab99f034bcb40');    sysid.addQuery('sys_id','=','80361c121bd...

ASHLE CRAIG by Giga Contributor
  • 1487 Views
  • 3 replies
  • 0 helpfuls

Why Aren't Scheduled Jobs Included in Update Sets?

I have a scoped app with a script include that needs to run once a day at 7 a.m. To do this, I created a simple scheduled job that calls two functions of that script include. ServiceNow doesn't include this scheduled job in the scoped app's update se...

saveResponseBodyAsAttachment without table name/sys_id

Hi, I would like to retrieve Excel file from external source, save it as attachment in sys_attachment table, process and delete it finally. Or just retrieve it, save in memory, and process. Closest guidelines I found - here A challenge - saving an at...

Appli by Giga Sage
  • 2401 Views
  • 5 replies
  • 2 helpfuls

RESTMessage endpoint max string length ?

Hi!  I created a RESTMessage which enables our Calgary-SN application to talk to he JIRA Rest API, I am using a MID-server.  I am not able to successfully use the "get" function, I always get an error 400.  After digging around, I found out, that the...

hpesata by Kilo Expert
  • 7730 Views
  • 12 replies
  • 5 helpfuls

Resolved! what code to replace gs.setProperty()

Hi All, I am working on a code which does not fit well with our best practices (gs.setProperty())  and I was hoping if someone can guide me what code to write in place of the exiting code :   this.debug(JSON.stringify(statusList));        gs.setPrope...

How to use sp-attachment-button in a table

Our team is developing a Record Producer Macro variable that links to a widget.  The widget is a table and we want to have the sp-attachment-button appear on every row of the table.  We are able to get the button to show up, but nothing happens when ...

find_real_file.png
yundlu316 by Kilo Guru
  • 3777 Views
  • 2 replies
  • 0 helpfuls

Resolved! Change Update button name on one form

I am attempting to modify the name of the Update button on one form only. I can change it globally, but cannot seem to figure out how to do it in the client scripts.  Any ideas?

jesterize by Tera Contributor
  • 4055 Views
  • 4 replies
  • 1 helpfuls

Schedule entry - Repeats field value in list view

Hello everyone,  In the 'Schedule Entry' table, there is a 'Repeats' field that allows you to display the repetition of the schedule or not.  In the list view, you can see the following information:    I created a custom table in which I did the sam...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Mandy11 by Tera Contributor
  • 1403 Views
  • 1 replies
  • 0 helpfuls