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

Forum Posts

need help in cilent script

Hi Team  can any one please help me , in this request for the particular catalog item , Based on the type of request ,  Infrasturure request should populate . can any one please provide me script for this .       

nameisnani_0-1721622239566.png nameisnani_1-1721622239353.png
nameisnani by Mega Sage
  • 1108 Views
  • 5 replies
  • 3 helpfuls

Resolved! How to validate a variable in a form on the employee screen?

Hi Servicenow community. I am a newbie to Servicenow. Now I am having a task with this requirement: A User registers a consumable asset.- If they register for the first time, system allows them to submit the request. - If they register for the second...

LinhN by Tera Contributor
  • 937 Views
  • 4 replies
  • 1 helpfuls

Refresh Token - 401 - Error

Hi everyone, I'm trying to use the refresh token and I get a 401 error. { ' access_denied' }I'm sending a POST request with "Content-type": "application/x-www-form-urlencoded"and{ grant_type: 'refresh_token' , client_id, client_secret, refresh_token ...

alexshani by Tera Contributor
  • 1441 Views
  • 6 replies
  • 0 helpfuls

Issue with Value returned from Script Include

Hi,I am calling a script include function from background script . The value returned from script include is coming as [object Object].However when I add log in script include, it is actuialluy a string. Please let em know what is missing here. Scrip...

gravi3609 by Tera Contributor
  • 1134 Views
  • 5 replies
  • 1 helpfuls

Coalesce conditional script in the transform map

Hi All,Please find the scenarios belowI want to import data into the "cmdb_ci_server" table using import set table transform mapsScenarios1: If Company and Name exist => I want to ignore the recordScenario2: If Company and Correlation ID exist => I w...

Shantharao by Kilo Sage
  • 1759 Views
  • 1 replies
  • 0 helpfuls

How to retrieve value from time_worked field?

Been having difficulty retrieving the value from the time_worked field, with the ultimate goal of summing several time_worked values from child records and then assigning the total to another time_worked field.  If I'm looping through child records v...

MBarrott by Mega Sage
  • 967 Views
  • 5 replies
  • 0 helpfuls

Forum Read Permissions from a script

Hello, I am wondering if anyone has figured out a way to calculate forum readability from a server-side script in ServiceNow.Essentially, I am hoping to gather all Community Forums that a user has read access to. So far, I found sn_communities.Commun...

RaysOdyssey by Tera Contributor
  • 472 Views
  • 1 replies
  • 0 helpfuls

How can we test the widgets in portal in ATF?

Hi,In ATF, need to validate/test the widgets  (means validating the visibility and functionality) in portal. Is that possible in ATF by using which test step? Can anyone help me? Thanks and Regards,Megha Shyam Pentakota.

MEGHASHYAMP by Tera Contributor
  • 1129 Views
  • 1 replies
  • 0 helpfuls