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

Forum Posts

Convert Normal change to Emergency Change.

Hi Guys, Is is possible to change "Type" of change request (Normal to Emergency) i.e. when there is normal change request that is in work in progress state, A UI action should change the "Type" of existing change request from 'Normal' to 'Emergency'....

Rocky5 by Kilo Sage
  • 3433 Views
  • 3 replies
  • 0 helpfuls

Resolved! Send Email Notification with Scheduled Job

Hi All, I have a requirement to send an email notification on a certain day of the month. I am trying to achieve this through an event using a scheduled job. This is what I have so far in Dev to test this - Event Scheduled job Notification   I be...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Community Alums by Community Alums  
  • 6633 Views
  • 18 replies
  • 10 helpfuls

Resolved! get the function name

Hello When I write scripts (business rules, script includes (classes and functions), functions) I try to add the name to the log output. like: function add_sec_sc_relation_function() {   gs.log('add_sec_sc_relation_function ' + 'start'); } Then I can...

User370547 by Giga Contributor
  • 3391 Views
  • 4 replies
  • 0 helpfuls

How can I call One UI Page to another UI Page?

Hello, Newbie here. I'm calling UI_Page_1 from UI action. This UI_page_1 contains a Form. Once users submits this form I'm trying to do validations based on the user inputs through UI_page_1's client script by calling server side script include. If t...

Ash28 by Kilo Contributor
  • 3315 Views
  • 5 replies
  • 2 helpfuls

Resolved! GlideDateTime.subtract

Hello, (function executeRule(current, previous /*null when async*/ ) { var responseSLA; var resolutionSLA; var resCheck; var resoCheck; var durCheck; var slaCheck = new GlideRecord('task_sla'); slaCheck.addQuery('task', cu...

Vikram3 by Tera Guru
  • 6604 Views
  • 27 replies
  • 2 helpfuls

Parent Child Departments - Member of

Our organisation has quite a complex structure (as I imagine many do) in that there are a lot of department levels. e.g.Directors-- Business Services---- ICT------ Operations-------- Service Desk-------- Field Engineering-------- Systems------ Develo...

eddy42 by Tera Expert
  • 4374 Views
  • 9 replies
  • 2 helpfuls

Resolved! Time Sheet Portal (Logged Time Cards)

Hi All, When trying to add time to tickets the scrolling stops after about 20 or so tickets. It has become a pain to add times to previous tickets and the before mentioned. Dont know if an update has been done that caused this or not. Please see the ...

find_real_file.png

Resolved! Check the content type of attachment on Service Portal

Hi, I have a requirement wherein I have to check the content type of attachment, i.e., if it is pdf or not. If its not a pdf i need to alert the user that they need to attach a pdf.I've made a script include for checking the attachment using GlideRec...

Siddhant4 by Kilo Contributor
  • 4782 Views
  • 9 replies
  • 5 helpfuls

Resolved! Unable to copy attachments using flow designer

Hi, I'm trying to copy attachments from one record to another using flow designer and unable to do it. For example, I have attachment on problem record and have created problem task, now i want to copy the attachment from problem to problem task once...

find_real_file.png find_real_file.png find_real_file.png
Sriniwas by Mega Contributor
  • 6163 Views
  • 6 replies
  • 3 helpfuls

Debugging Script Include Client Side

I want to walk through a script include and see how's its working to fix an issue.    So using a debugger statement in your client-side javascript code you can set breakpoints and using your browser's developer tools walk through and troubleshoot you...

BigMarkP by Giga Contributor
  • 3576 Views
  • 2 replies
  • 7 helpfuls

Resolved! Chat Window is not popup in servicenow

Hi, Chat window is not showing popup window, when any user ping..The issue is that the users has no way of knowing that a chat was waiting unless they are staring at the chat desktop the entire time. Since most of the users tend to do multitasking, t...

Neha52 by Tera Contributor
  • 3580 Views
  • 4 replies
  • 0 helpfuls