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

Resolved! FIx script help to update closed time on incident table

Hello There  can some one help me with script to update closed date on incident table  We have a issue with BR which updated the close date of  the incident same as resolved , for the data fix we need to write a fix script where it should update clos...

find_real_file.png
RudhraKAM by Tera Guru
  • 2234 Views
  • 10 replies
  • 4 helpfuls

Resolved! Looking for solution for multiple RITMs from same Catalog Item

I am looking for a solution to a complex problem and hoping someone can help. We have a catalog item that allows an end user to request access to multiple groups for multiple users (both variables are list collectors).  We currently have this functio...

wiltonr by Giga Contributor
  • 4437 Views
  • 22 replies
  • 1 helpfuls

How to send data as base64 more than 5Mb

Hi, I need more knowledge about integration I have script which encode attachment as base64 everything was fine but I need to send Attachments bigger than 5Mb so I came up with idea to use:  var toBody = new GlideRecord('sys_attachment'); ...

Resolved! how to change the collection list on edit members in servicenow

Hi all~ Happy New Year!! I have a question. This is a table that I made. There are three related lists. 'Group Members', 'Team Members', 'TestMembers'. * Group Members list is 'sys_user_grmember' * Team Members list is a table what I made. * TestMem...

find_real_file.png find_real_file.png find_real_file.png
Noah Bae by Kilo Contributor
  • 4699 Views
  • 6 replies
  • 4 helpfuls

Rename the Change State

Good Day! I want to rename the change State Authorize to Validate I tired with the change state model tutorial but it doesn't work. Is there anything specific steps do I need to follow. Please suggest. Thanks in Advance. -Johny

Johny1 by Tera Expert
  • 2465 Views
  • 10 replies
  • 9 helpfuls

javascript await

Does anyone know if the 'async' and 'await' operators are valid in ServiceNow? I assume not since they are causing an error but wanted reach out and validate.

gbunce by Kilo Expert
  • 2721 Views
  • 2 replies
  • 2 helpfuls

Resolved! Working with Attachment Data

As we expand into more and more areas with Servicenow as a company we find ourselves looking for ways to automate things that used to require manual intervention in the old system. Today we came across a process that involves imports of data in XLS f...

Emerce2000 by Kilo Expert
  • 15071 Views
  • 12 replies
  • 4 helpfuls

Resolved! When an approval request is rejected, how can I get the reject comments in the activities log? I have added approval history and it still does not post. It is posting in my Developers account but not in my production. Is there another setting that

When an approval request is rejected, I'm trying to get the comments to post in the activities log.  It is posting that the request was rejected but not including the comments.  I included the Approval History in the activity filter and it still no l...

Kathi by Tera Expert
  • 6424 Views
  • 17 replies
  • 1 helpfuls

Resolved! Need 'COUNT' to return records with zero entries in script

I'm querying the cmdb_ci class table in order to pull all CIs by class. I'm using COUNT but it is leaving out Classes with zero CIs.  Below is my current script. Thanks!   var gr = new GlideAggregate('cmdb_ci'); gr.addAggregate('COUNT'); gr.orderbyAg...

Resolved! how to hide calendar icon in date/time type variable

Hi All,i have a requirement of allowing the user to enter the time in a UI form in HH:MM format. In order to achieve that, we do not have a time variable in service now. so i decided to use the Date / time variable type. But now the issue is , it com...

find_real_file.png find_real_file.png
fisfreak by Kilo Contributor
  • 3978 Views
  • 9 replies
  • 3 helpfuls

Resolved! How can you use an Extenstion of the sys_choice table?

I am neededing to import data (500+ rows) into a table that will be used as a source for a dropdown. I also need to add a few addition value fields for each choice. Someone suggested extending the sys_choice table. I have been able to create a new ta...

Will Mathies by Tera Contributor
  • 3008 Views
  • 3 replies
  • 0 helpfuls