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

Forum Posts

How to Calculate average in dashboard report?

I have two fields- request and month. Month as a choice field and in the dashboard I want to show for each month how many requests are created and the month field will work as a filter over here? So, I got a new requirement, whenever I select a month...

Shubhashis by Kilo Contributor
  • 3095 Views
  • 3 replies
  • 1 helpfuls

Resolved! Context menu not working properly

Hi, I have created a "update all" context menu by copying the same one from the OOB one which is present. But when I am trying using the menu it is not performing any action.  whereas for previous on "Update All" when i click i get a alert whether yo...

Refresh OAuth token

Hi All, How to refresh the access token. Am getting the below message in the rest message. OAuth Access or Refresh tokens are not available. Verify the OAuth configuration and click the 'Get OAuth Token' link below to request a new token. How to auto...

find_real_file.png
Siddharth5 by Kilo Contributor
  • 9486 Views
  • 1 replies
  • 0 helpfuls

refernce qualifier to get ci assigned to user

on catalog form, we have two fields, 1 - requestor 2 - ci if a user selects requestor then in ci - it has to show the list of ci's with class computer assigned to user, if there is no ci then it should show all ci of class computer here is my code an...

find_real_file.png
gtk by Mega Sage
  • 872 Views
  • 2 replies
  • 0 helpfuls

Open GlideURL from GlideModal

Hello, We have a requirement to do a Bulk Update on Incident table - Similar to context menu 'Update Selected' , but using a List UI action. I copied the code below from Update Selected Context Menu, and tried to Open it in a popup window using g_nav...

find_real_file.png
jmcagod by Kilo Guru
  • 1377 Views
  • 1 replies
  • 0 helpfuls

Resolved! How can I get the "Edit" button on a custom related list

Hello SN Community,  I have a requirement for a custom related list on a form whereby a user can add or remove companies impacted on an incident form. I created the related list through a new relationship (system definition < relationships) but the a...

Nya Valdez1 by Tera Contributor
  • 2853 Views
  • 8 replies
  • 1 helpfuls

Resolved! $sp.getRecord() not working with input parameters

Hi, Want to confirm if this is just for me or everyone else. $sp.getRecord() is working fine. However, if I try $sp.getRecord('incident','<sys_id>'), it's not fetching the field values object in Widget Server script. Greatly appreciate your help. // ...

tkrishna29 by Giga Guru
  • 1404 Views
  • 6 replies
  • 0 helpfuls

Script to get Groups

Hi guys, I'm new to servicenow. I have a catalog to add/remove users from groups, but I would like to put an option when the user selects a group of type "Approvers" to appear in a read-only list all the approving groups that it is already included, ...

Rick27 by Tera Contributor
  • 1238 Views
  • 4 replies
  • 0 helpfuls