We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

ServiceNow AI Platform forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Download Attachments via Script

Hi, I have been working on a script to export several attachments from Incidents.  Using loops I can get the Incidents and attachment records just fine, I simply cannot get them exported. I tried using a MID Server script but I was unable to figure o...

Creating Field Names with Special Characters

Hi,We have a German client, who has a fairly old on-premise instance with a large number of custom tables.They are in the process of migrating everything on this server to a cloud instance (San Diago)They have hit a problem when migrating the custom ...

Tom Kerman by Tera Contributor
  • 1059 Views
  • 1 replies
  • 0 helpfuls

Tiny URL in Servicenow

Dear Team, I have to make the tiny url for the scripted Rest API url created by me for the API call. for EX:  Long URL : https://mydemoinstance.service-now.com/api/x_kb_scope_app/myscopetable/create make it to Short URL :  https://tinyurl/myscopetabl...

KB18 by Tera Guru
  • 2562 Views
  • 5 replies
  • 0 helpfuls

Create request through import set

Whenever a new user is added to 'User' table, raise a request to deliver laptop for the new user through import set. I tried this OnBefore Transform Script -var cart = new Cart();var item = cart.addItem('04b7e94b4f7b4200086eeed18110c7fd');var rc = ca...

aagman4 by Tera Contributor
  • 955 Views
  • 5 replies
  • 0 helpfuls

Resolved! How to set the 'Email user label' from script?

How to set the 'Email user label' from script or notification form?   You can modify the 'From' field on an email by using the method 'setFrom' or by setting it in the field 'From' on the Notification.   https://developer.servicenow.com/app.do#!/api_...