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
  • 4286 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
  • 2174 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
  • 2677 Views
  • 3 replies
  • 6 helpfuls

Resolved! Add different task types to single VTB

Hello Experts! We are interested if it is possible to ensure different type of tasks on a single VTB. For example if it is possible to combine Incidents, Requests, Project Tasks on the same board for further team collaboration. As an example in gener...

Mariia2 by Mega Contributor
  • 2714 Views
  • 2 replies
  • 2 helpfuls

Resolved! Masking a field

Hi everyone,   I am just starting out to learn about the platform and I need a bit of help. Can anyone tell me how to include a "/" as a mask of a field ? Example:  If an User inputs the number 20221111, I want to make it so that a non-admin user see...

Nilson Lopes by Kilo Contributor
  • 3766 Views
  • 3 replies
  • 1 helpfuls