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

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

Forum Posts

Add field to request summary page- Client Script?

Hi everyone, Can I please get some help with a client script that will change the value of the "short description" to the request_name variable on the portal? I attached a couple screenshots to display what I 'm trying to acheive. (Order guide has th...

variable2.PNG ORDER GUIDE.png
Gemma4 by Mega Sage
  • 1414 Views
  • 11 replies
  • 0 helpfuls

Resolved! Delete all records in a table script

abhi_rCould you share a script to delete all records on the contract table and all records on the core_company VENDORs table?   There are about 1200 contracts and 4210 vendors. We want to start over and load fresh data for testingI saw the one on the...

carlh by Kilo Guru
  • 26721 Views
  • 12 replies
  • 13 helpfuls

Resolved! Deleting all records from large (1TB+) table

We have a table in our production instance with over 1TB of data in it (1118168054 rows). I'm looking for guidance on the best way to purge this table without affecting system performance. I do not believe there is any reason to retain these records ...

Resolved! Notification not being created when the event is fired

I have a Scheduled Script Execution with this script:var grCase = new GlideRecord("sn_customerservice_case"); grCase.addQuery("state", "18"); grCase.addQuery("u_on_hold_reason", "1"); grCase.addQuery("sys_updated_on", "<=", gs.daysAgo(4)); grCase.que...

AlexSastreBra_0-1695044366592.png

Set a filter to the To field in the Email Client

Hello!When typing a name in the To field of the email client, the selection displayed are records in the User table. Is it possible to configure this to only show User records that are active and have an email address?Thank you!

ramirch by Tera Contributor
  • 657 Views
  • 2 replies
  • 0 helpfuls

Custom ACL not working in the Workspace

I have customised one ootb acl which is related to Action These are the conditions I am using the RIDAC tablesBut this condition is working fine in the native view for all of RIDAC but in the project workspace , it is not working for Action and Chang...

Ashutosh4_0-1695026771874.png Ashutosh4_1-1695026805581.png
Ashutosh4 by Tera Contributor
  • 778 Views
  • 1 replies
  • 0 helpfuls

"Enable list edit" checkbox to be set to true by default

Hi, Can we set the "Enable list edit" checkbox to be true by default in personalize? As of now, users have to first make it true and then they are able to edit list. Is there a way to make it "true" by default? If yes, can there be any issues if we m...

enable.jpg
SK41 by Giga Guru
  • 1015 Views
  • 4 replies
  • 0 helpfuls

Resolved! Hide EXPORT context menu for user table

Hello,  I want to hide the "Export" Option in the UI context menu for table "sys_user" and want to keep it for admin users only. I know the option of Export exists user System UI-> UI context Menu , but what condition can I put there so that it is on...

find_real_file.png find_real_file.png
Bunny3 by Kilo Contributor
  • 5292 Views
  • 14 replies
  • 5 helpfuls

Resolved! Character count in string fiel

I want to count number of characters entered in a string field.Divide the total number of characters by 3.5 and store it in an Integer field. I created a business rule in update/insert. I'm stuck on writing script.

Ram108 by Kilo Expert
  • 2242 Views
  • 5 replies
  • 3 helpfuls

Resolved! How to get information from catalog task created in a flow

Hi all,  I have a flow in flow designer where I have created a catalog task wiht the short description 'Dell laptop has been ordered'. I want to access information about this specific record in the flow; specifiying that when this catalog task is clo...

gunishi by Tera Guru
  • 1656 Views
  • 3 replies
  • 2 helpfuls