I am getting the wrong output after executing the below code. var gr = new GlideRecord('x_408194_loading_e_scoped_data_table'); gr.query(); if(gr.next()) { var gettDate = gr.date; } gs.info(gettDate); var gd = new GlideDate(); gd.setValue(gettDate);...
Hi , I have a Requirement to create Custom Application . I have Created custom Application using Studio ., I would like to know , Is there a way to create custom Application using Scripts in Servicenow ?? if there is a way , Please guide me , ...
Hello there, I have a need to build a report that can flag incidents that changes status From: New To: Resolved Basically I wanted to check if "New" incidents are being set to "Resolved" state directly. Could anyone help me in this. Thank you, Ujjwa...
Hello, I'm facing an issue where the email notification is not sent even though all conditions are met. Maybe you will be able to see the mistake in case I missed anything. These are the conditions for the notification: In my test case: Case Type ...
I have checked that there is not an action name similar to this one and this exists in the sys_ux_form_action table.
Hello All, I'm looking to set a field (True/False) based on if the current date/time is between two date/time fields. I believe the best way would be using a client script but would also like to have the condition checked every hour. Can someone sugg...
We have 54 Change tickets that are in a Closed State but are still Active. How can we get this corrected ?
I'm currently working in the Rome release on a survey. I copied a previous survey that contained a Likert template question. However, the choices do not stay in the order in which they were input. I even started a new survey from scratch and I get th...
Hi All There is an requirement to know why the business duration for some incidents show 0 seconds even if the actual resolution time is around 30 mins. could anyone please provide me with the cause of this issue as it as an important issue that has ...
Hi, When state is in-progress i changed to awaiting info,the hr task state also waiting info.I did this and written below code. after that when ever i click on move in progress button, task state need to change - open but it is still in awaiting in...
Hi Experts, I need to check the list of holidays already configured in service now? if I need to mark a day as a holiday which configurations do I want to check? I am not sure where do those list occurs. Do we need to check any SLA configurations. Ca...
Can anyone please help in how to write the code in the below BR for the below scenario? var grAppr = new GlideRecord('sysapproval_approver'); grAppr.addQuery('sysapproval', current.sysapproval); grAppr.addQuery('u_injectorss',false); grAppr.query();...
Hi All, Having some issue with getting an error message on a REST web service. Over the BR, I have kept as below to replace special characters in short description. r.setStringParameterNoEscape('short_description', current.short_description.replace(...