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

Forum Posts

Resolved! How to get sys_id of Script in code.

Hello, ServiceNow Gurus, Say I have a Business Rule, and that Business Rule calls into a Script Include, and that Script Include writes a message to the System Log... Is it possible for the script include to figure out, at runtime, its own sys_id?  A...

What is best practice for deleting records?

What is the widely accepted best practice for allowing or restricting deletions?  We have a blanket rule that no one but our Security Admin can delete in Prod, but have already made one exception to allow users to delete a personal filter.  We've now...

Megan C by Kilo Expert
  • 3052 Views
  • 5 replies
  • 2 helpfuls

Resolved! How do I add getProperty value to my URL?

Hi guys, So I'm trying to pass the sys_id of a catalog item inside my url in an email script. I've created sys_property to house the value of my sys_id. Now I'm trying to pass that property as part of my URL. Below is the current script that's not wo...

taofeek93 by Tera Contributor
  • 1705 Views
  • 1 replies
  • 0 helpfuls

ServiceNow Migration from On-Prem to Cloud

Hi everyone, We currently have a on-prem hosted instance and are planning to move to ServiceNow cloud. Has anybody done this before? Can you please share any documentation, best practices, common pitfalls that can help us plan and migrate without muc...

The easy way to encode JSON GlideRecord

Hi allI sure that you see some troubleshooting when you find a way to encode GlideRecord to JSON stringAnd I have the easy way to do it with OOTB script include var util= new global.GlideRecordUtil(); var grinc= new GlideRecord("incident"); grinc.get...

Trung by Kilo Guru
  • 2221 Views
  • 3 replies
  • 6 helpfuls