Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

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

Forum Posts

Condition to Check for Item's Category on Approval

Hi All,I have a scheduled job that runs daily to issue approval reminders for outstanding requested item approvals. I now want to split this job to issue one email notification for item's under Hardware category and other for all others.The issue is ...

Sofija by Giga Expert
  • 3093 Views
  • 12 replies
  • 0 helpfuls

script for date and date/time fields

Hello,I'm having an issue creating a script to set a date field based on a date/time field. This is the part script that I'm trying to use:function createChange(){   var change = new GlideRecord('change_request');   change.initialize();   change.setV...

Resolved! Can you reclassify a CI using a script?

Is it possible to reclassify a CI by using a script?I know it is possible to manually reclassify a CI by updating the Class (sys_class_name) on the form, but if I change the sys_class_name using a script, this results in a "record not found" error" o...

Kit Sanders2 by Kilo Contributor
  • 4770 Views
  • 9 replies
  • 0 helpfuls

Resolved! My company module is showing Record Not found

HI,I wanted to provide a logo for My Company. But whenever I am clicking on my company from my company module, It is showing record not found. I am able to access all other core_company records directly from core_company.list. Please let me know if w...

find_real_file.png
anasuyaray by Mega Expert
  • 8346 Views
  • 16 replies
  • 2 helpfuls

Exporting the report - Automatically

I have few report on ServiceNow portal, I frequently pull the report manually, export it to excel and import into a database for further analysis. Is there a way to automate the downloading part from servicenow portal without any additional privilege...

shiju by Kilo Explorer
  • 5299 Views
  • 4 replies
  • 1 helpfuls

Resolved! Get Reference to sc_cat_item from Catalog Client Script

I have a Catalog Client Script that applies to a Variable Set. While I can get to all of the variable within the set I need to pull back a reference to the sc_cat_item that is the parent(the form in which the variables reside) of this variable set. I...

jimcagg by Kilo Explorer
  • 3013 Views
  • 3 replies
  • 0 helpfuls

Resolved! Notification not pulling "Users/Groups in fields"

Hi guys!I have an issue with the Users/Groups in fields on the Notification form (under the Who will receive tab) and I am completely stumped. The design of this notification is to send an e-mail to the person assigned to the Change Request when an e...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Steven Chen by Tera Contributor
  • 6221 Views
  • 4 replies
  • 4 helpfuls

g_form.addOption triggering onChange Client Script

i have an onChange client script to do some stuff when value on the formfield is changed. Since this field is populated dynamically, every time addOption is executed, Onchange client script gets executed as well.So, When I change a value on the form,...

kani1 by Kilo Contributor
  • 4804 Views
  • 6 replies
  • 1 helpfuls

Resolved! Limiting access through REST with ACL

My company is looking at allowing an external vendor to develop a plugin to interact with our instance to Service Now using the Table API with REST commands. However we clearly want to limit what data can be accessed via these REST commands for secur...

TylerTeter by Kilo Guru
  • 10256 Views
  • 2 replies
  • 5 helpfuls

Resolved! Server-Side UI Action Confirmation Popup

I have a UI Action Form Button to "Copy" the current record. Everything is executed server-side and it works great.However, when they click the button, I want to be able to open up a confirmation dialog box (i.e. "Are you sure? - OK / Cancel") but fr...

rchadek by Kilo Contributor
  • 5123 Views
  • 2 replies
  • 1 helpfuls

How to get current requested item?

Hi,Here what I am doing :I am trying to request the listed from service catalog.On request one incident gets created and gets assigned to the authorized person for approval.Once the person approve the request there is one script attached that calls t...

vimal11592 by Tera Expert
  • 5146 Views
  • 4 replies
  • 1 helpfuls