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

Forum Posts

How to check current volume/storage consumption?

1. what is the volume limit of production instance? 2. what is the volume limit of non-production instance? 3. How to check current volume/storage consumption? 4. Could knowledge articles could exclude the storage consumption?

User347785 by Giga Contributor
  • 3798 Views
  • 1 replies
  • 1 helpfuls

How to keep the old value on change client script

Hello, I was trying to set back to the old value after alert but some how the alert message won't go after clicking on OK. Need help on my script to get it right. Requirement was "If the user attempts to select a 'Support Schedule' value other than "...

IamSK by Mega Guru
  • 2928 Views
  • 4 replies
  • 3 helpfuls

Resolved! How to Read Values from the XML Payload

Hi,I am facing to fetch the node value of one the attributes. In my XML Payload, the response is something like:<domain>europe.abc.com</domain>Or<domain>pacific.abc.com</domain>Or<domain>americas.abc.com</domain>Or<domain>abc.com</domain>I need to re...

vishal065 by Tera Expert
  • 5083 Views
  • 9 replies
  • 0 helpfuls

Resolved! Get Currency Value in Client Script

Hello Community, I have a client script for the Requested Item table that sets currency to CAD if the user's country is Canada. The functionality works as required, however I need some assistance with adding the following logic to my script: If user'...

keesh by Mega Contributor
  • 6211 Views
  • 5 replies
  • 1 helpfuls

Resolved! SyntaxError: Unexpected end of JSON input

I am getting this error on the Chrome Console: My script is: function onChange(control, oldValue, newValue, isLoading) { console.log('current.variables.mrvs_set_1: ' + g_form.getValue('mrvs_set_1')); console.log('current.variables.mrvs_set_1_jso...

find_real_file.png
hanaphouse by Tera Guru
  • 4846 Views
  • 3 replies
  • 2 helpfuls

Resolved! How to Search and replace a string in a string array

Hi, I have a string such as var str = "Hello Servicenow user Chinmayee Mishra.User user ID is : 1234s" ; I have to find the ID and replace with another ID , lets say var newStr = "Hello Servicenow user Chinmayee Mishra.Your user ID is : 987c"; The st...

Chinmayee1 by Giga Contributor
  • 3151 Views
  • 9 replies
  • 1 helpfuls

Resolved! Admin for devs/BAs after a clone?

Dear community, After a clone from production to one of our 8 sub-production instances, we need members of certain groups (Developers, Testers, BAs, Trainers) to have/keep the admin role. These groups/users don't have admin in Prod due to our organis...

Chris H2 by Giga Guru
  • 2840 Views
  • 7 replies
  • 5 helpfuls

Event processing error message "severity:invalid value"

Hello, Have done numerous integrations of monitoring tools to ServiceNow event management.  We are currently working on a SolarWinds integration.  DEV environment working fine.  Migrated package up to UAT and now the events are not all processing lik...

Joy7 by Kilo Contributor
  • 3291 Views
  • 4 replies
  • 2 helpfuls

Resolved! How to run reports query using rest API

I have written a query to get list of demands and saved. My query is to filter demands and demand tasks. When I view/Run query I see output table. I want list of demands which is the output of query as my API response.    

find_real_file.png
Shetty2 by Mega Contributor
  • 7450 Views
  • 6 replies
  • 1 helpfuls

How do I get running workflow name in a run script

I need my current running workflow name to a variable. I have a Run Script   inside my workflow where I need current workflow name in to a variable. tried using some of the current.   method but giving undefined values. Sys Id would be help full for ...

bibeesh by Tera Contributor
  • 2655 Views
  • 5 replies
  • 0 helpfuls

Resolved! Populate request with cat item name in flow designer

Hi,I currently have a script that auto-populates the description fields on a request depending on what is selected in multiple items - to make this more dynamic, I want to use one flow for multiple items, and use the existing script to update the req...

Choice list option deletion is INSERT_OR_UPDATE change to sys_choice table in update set. Does this mean it will recreate deleted choices again if overwritten with a version of the choice list which does not have the choices deleted?

Here is the issue: A developer on our team deleted some choices in a choice list instead of setting them inactive as part of an update which included deleting, modifying, and creating choices in a choice list.We could not move the change to productio...