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

Forum Posts

Resolved! How to fetch user location and country

Hi, I have created a catalog and I am trying to fetch the user details like employee manager, location, country, department. I am using the below script. Script Include: var data, obj = {}; var countryName; var userID = this.getParameter('syspar...

find_real_file.png
Hari1 by Mega Sage
  • 4126 Views
  • 3 replies
  • 1 helpfuls

Resolved! UI Policies in Agent Workspace for Incident form?

I have a UI Policy on the Incident table with the condition of Major Incident State is not Accepted and the desired behavior is to hide this related list if that condition is true. The scripts are:  Execute if true: function onCondition() { g_form.h...

Community Alums by Community Alums  
  • 2383 Views
  • 6 replies
  • 2 helpfuls

SAP Solution Manager ChaRM/SNOW Integration

Hi all ...I am new here, and I am also somewhat new to Service Now.   I was exposed to it a few years ago, and there were many things I really liked about it, and some things I did not (it was due to it being hosted, and the configuration was locked ...

scottdw by Tera Contributor
  • 14790 Views
  • 17 replies
  • 4 helpfuls

Resolved! Email script

Hi, someone help on incident script, send  incident details list to assigned to if incident state is OnHold on single notification . ex: DavidLoo hasbeen assigned to 10-incidents , in 10-incidents there are 7 incidents have state -onhold. so DavidLoo...

Sironi by Kilo Sage
  • 4164 Views
  • 46 replies
  • 7 helpfuls

Resolved! javascript: new GlideDateTime().getDate() is populating today's date but not populating the current time. Instead it is populating time as 00:00:00 Please suggest any modifications or any other way in which current time can also be achieved.

javascript: new GlideDateTime().getDate() is populating today's date but not populating the current time. Instead it is populating time as 00:00:00 Please suggest any modifications or any other way in which current time can also be achieved. Please s...

Community Alums by Community Alums  
  • 2156 Views
  • 1 replies
  • 1 helpfuls

Resolved! onsubmit client script for attachments without getelement

We are using below catalog client script for  mandatory attachments , but as per best practices servicenow asking us to use without gel function in 5th line (var cat_id = gel('sysparm_item_guid').value;) kindly help me to change below code  without g...

Nitya2 by Kilo Guru
  • 2133 Views
  • 9 replies
  • 1 helpfuls

How to cancel previous ui page after clicking ui action

Hi All, I want to cancel previous ui page after click ui action button it will reload fresh ui page and will cancel the other page which is loaded full scenerio: Please Help me i click one ui button(Send_deb) it will display 1st ui page then in first...

Request Level Approval for Order Guide

My catalog workflow has a manager approval, now I want to move it to the request level instead of request item level. So if a user has multiple request items in one request, the manager just receives one approval email. Any idea of how to implement t...

Reddy by Kilo Sage
  • 2785 Views
  • 3 replies
  • 1 helpfuls

How do end users see old closed tickets

Hi I have had a query to day from one of my customers. They use Service-now to log all incidents and Requests but wanted to look for an old Ticket they had raised which had been closed, is their a way end users can view old closed tickets of their ow...

Karl27 by Giga Contributor
  • 2138 Views
  • 1 replies
  • 0 helpfuls

Auto-populate fields in Record Producer

Hello,We currently have a very basic "Create a New Incident" record producer in our Service Catalog which asks for the user name of the individual, the category of the incident, and a description. The submitter is able to enter their user name or the...

jevans by Kilo Contributor
  • 7207 Views
  • 7 replies
  • 5 helpfuls

how to pass sys ids from script include to client script:

There is a variable on a caltalog item named "IP" which is a reference field....I am stucked at client script...can anyone please help me... Script Include var Firewall_IP = Class.create(); Firewall_IP.prototype = Object.extendsObject(AbstractAjaxPro...

Sathwik1 by Tera Expert
  • 3548 Views
  • 19 replies
  • 4 helpfuls