Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Resolved! Error: Invalid user address

I have recevied a issue where user has mentioned the below issue.He is getting such email. Can you please suggest what to do here, what steps should i take ? received from: XXXX@service-now.comsent direct: XXXX@service-now.comsent copied: Error: Inva...

Mr_X1 by Tera Contributor
  • 3526 Views
  • 7 replies
  • 4 helpfuls

Resolved! Testing OAuth 2.0 in Postman

Hi All, I am testing OAuth 2.0 in postman and struggling with "State" Parameter: Does anybody has idea what is expected to be filled in State parameter? requirement is Import set API with OAuth.  

find_real_file.png
madhvi by Giga Contributor
  • 6169 Views
  • 4 replies
  • 0 helpfuls

Resolved! gs.addQuery('sys_id',current.caller_id)

Can anyone explain me what does this query pull or mean in the below scripts mean?Script :var gr=new GlideRecord('sys_user');gr.addQuery('sys_id', current.caller_id);gr.query();Q1) I dont understand how sys_id (Alpha-numerical value) is compared to c...

Resolved! Service Portal users Unable to view tickets for their Department

Hello, I have Service Portal users who have no roles or groups that were once able to view Incident Records for their department. We also have a custom field on their user record that ties different departments to their user record so that they can m...

LouisG by Giga Guru
  • 5480 Views
  • 7 replies
  • 4 helpfuls

Resolved! Calculate Business Day Difference between two dates?

Hi, How can we calculate business days between two dates i.e. one date value selected in Start Date Field and the other date would be the current Date(Today Date). I have tried the below code but it does not gives me the correct business days value: ...

snow_04 by Giga Contributor
  • 7105 Views
  • 7 replies
  • 0 helpfuls

Resolved! GlideAjax returning null value

Hello, I am new in scripting. I have been trying the below code, but its returning null value. What wrong I am doing? Script Include: var AssignmentGroupName = Class.create(); AssignmentGroupName.prototype = Object.extendsObject(AbstractAjaxProcessor...

Satanik1 by Giga Guru
  • 8134 Views
  • 11 replies
  • 6 helpfuls

Resolved! Removing a character from a string value before transform

Hi All, As the title states, on my import set table i have 3 string fields that are filled with a date, time, and timezone. The format looks like this and ServiceNow does not like the format, the import errors out,   "2020-03-02T09:29:13.311-08:00" ...

Resolved! Walk-up Experience user check-in

In walk-up experience, at user check in, it currently ask for user name. Is it possible to change what field it is searching on? We'd like to use the 'user_name' field which contains our SSO id.  TIA

clyon by Tera Guru
  • 3263 Views
  • 9 replies
  • 4 helpfuls

Resolved! Inline Script in Flow Designer not working

I am trying to use the Inline Script in Flow Designer. I am trying to create an hr_case record with Create Record action and set the value of its Category field with inline script. Below is the screenshot and the code /* **Access Flow/Action data us...

find_real_file.png
Sattyaki1 by Tera Expert
  • 9786 Views
  • 15 replies
  • 1 helpfuls