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

Forum Posts

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
  • 4571 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
  • 6383 Views
  • 7 replies
  • 0 helpfuls

Resolved! How to get the variable value

Hi , I am trying to create a variable set that is visible only on sc_task, when the task is closed, it should pull the recurring price value mentioned when the catalog item is created (sc_cat_item). How to acieve this?

SNOW39 by Tera Expert
  • 6333 Views
  • 27 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
  • 7333 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
  • 2518 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
  • 8216 Views
  • 15 replies
  • 1 helpfuls

Enable filter for Data table from instance definition

I have created a new page where I have added a widget called Data Table from Instance Definition. I am able to add fields and hard code a filter in the instance with table option but there is no way to enable the filter to be editable by the user. Ho...

find_real_file.png
Khanna Ji by Tera Guru
  • 2117 Views
  • 2 replies
  • 0 helpfuls

query on Task table

below query returns 50 records order by priority  var tsk= new GlideRecord('task');tsk.chooseWindow(0, 50);tsk.orderBy('priority');tsk.query();while(tsk.next()){ gs.log(tsk.priority + " - " + tsk.short_description);}   below query should return first...

MO26 by Kilo Explorer
  • 1949 Views
  • 4 replies
  • 0 helpfuls