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

Forum Posts

Resolved! Access GlideRecord from within service portal widget.

How can I run a Glide query from in a widget? (Service Portal) This code runs fine in the script-background editor, but it doesn't work in the Server-script section of my widget: var grTask = new GlideRecord('task'); grTask.get('number', "REQ0323232...

Patrick69 by Tera Contributor
  • 2350 Views
  • 3 replies
  • 4 helpfuls

Resolved! Convert Array of Arrays of Objects to Array of objects

Hi, I need to convert Array of Arrays of Objects to Array of objects. Here is the data-var newresponse = [ [ { "alias1": null, "alias2": null, "alias3": null, "alias4": null, "created": 1573046331, "desktoptokens": [], "email": "test1@ex.com", "first...

aamir1 by Mega Expert
  • 2253 Views
  • 4 replies
  • 1 helpfuls

SFTP file to other server

Hi, We have a requirement where we need to generate a CSV file and upload that file into other server. This is external server for which we might get SFTP access. I have already generated the file and now i need to push it to the other server.  Does ...

asifnoor by Kilo Patron
  • 1500 Views
  • 5 replies
  • 3 helpfuls

Resolved! Notify users of excessive attachment size

Hi folks,I have previous raised a question about inbound action script that prevents excessive attachment from attaching.   After attempting to implement the script, I realised ServiceNow seems to stop the email from processing if an attachment is ov...

georgechen by Kilo Guru
  • 3751 Views
  • 8 replies
  • 3 helpfuls

Resolved! When using an email script, what is "current"?

i have an email script/business rule working together. When i try to query fields from the table in my script, it removes everything from my notification. When a user is terminated that is listed in the user field of a u_cmdb_ci_table_access_paramete...

find_real_file.png
othomas1 by Kilo Guru
  • 6430 Views
  • 2 replies
  • 1 helpfuls

Include previous email conversations to outbound emails

Hi, has anyone developed a way to include a previous email conversation to outbound emails, or a way to reply to a received email including the original message?No need for that in standard notifications, but would be a nice feature to have a way of ...

trekonen by Kilo Explorer
  • 1798 Views
  • 3 replies
  • 0 helpfuls

Resolved! Dynamic List on Catalog Item (For Example a Visitorlist)

I'm searching for an Opportunity to create a dynamic List on a Catalog Item. Usecase: For every Visitor hast to be 4 Variables on the Item (First-Name, Name, Date of visit, time ).  There is no Problem to create this for one User!BUT What I am lookin...

Meloper by Kilo Sage
  • 1297 Views
  • 4 replies
  • 1 helpfuls

Resolved! How to clear selection

I have the below select feature field. When i change the selection of select feature, the action option ,which by default is doesn't select any of the option, should be remove the slection and be back to 'no option selected' format. How to do this?

find_real_file.png
SNOW39 by Tera Expert
  • 2727 Views
  • 5 replies
  • 1 helpfuls

How to return the value from Callback function

Hi All, I have client script with GlideAjex and it's returning the value properly I want to get out the callback function return value but it's not working function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (isLoading || n...

ramesh_r by Mega Sage
  • 4427 Views
  • 9 replies
  • 0 helpfuls