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

Forum Posts

Setting a default filter for Incident Activity Log

In the incident form activity log, the default filter is "all". I'm able to update that filter by checking and unchecking selections. However, I'd like all users to default to only show "Additional comments", and have all other selections (i.e. "open...

swong by Mega Contributor
  • 5326 Views
  • 5 replies
  • 3 helpfuls

Resolved! how to populate the catalog variable values to RITM description

Hi Team, how to populate the current catalog variable values  to RITM description below variables and variable set fields. i have 3 variables and one variable set (variable set have 2 fields). variables  1. account 2. year 3.quarter  variable set 4. ...

Pushpa by Mega Expert
  • 5417 Views
  • 25 replies
  • 3 helpfuls

Resolved! Assignment Rule Scripting

Hi, I have an assignment rule for the incident table and a Record Producer to create Service Desk incidents. The idea is that if a custom variable value (current.variables.normal_user_yesno) in my Record Producer is "Yes" then to assign a group in th...

JCAG by Tera Contributor
  • 5589 Views
  • 6 replies
  • 1 helpfuls

Resolved! GlideRecord issue using addNotNullQuery

Hi, I am working on GlideRecord method addNotNullQuery() and I am facing the issue. I believe I am getting wrong output. Kindly help. var gr = new GlideRecord("incident"); var shortDesc = gr.addNotNullQuery('short_description'); gr.query(); while(gr....

find_real_file.png

User unable to Login on ServiceNow App on Mobile device

We have a user who is unable to sign into ServiceNow app on a mobile device. Any troubleshooting assistance will be appreciated. See details below.   Instance - LondonMobile Device - iPhoneUser is able to access the Desktop version via websiteUser is...

Dan A1 by Kilo Contributor
  • 2576 Views
  • 4 replies
  • 3 helpfuls

Faceted Search Widget on sp_search page

Hey, I am trying to hide the kb_author as a search source for the faceted widget that is on the sp_search page. I found a doc "Disable facets for a search source" and i tried to add in kb_author sys ID as the value but the widget is still allowing a ...

Isak by Kilo Contributor
  • 2441 Views
  • 2 replies
  • 0 helpfuls

How to add a fixed query to the related list?

In the users form there is the OOB groups related list. While clicking on the Edit button it opens the slushbucket to select the groups to which users has to be added.I have written a script include to limit the groups that would be listed and mentio...

find_real_file.png
Kannan Nair by Tera Contributor
  • 2254 Views
  • 3 replies
  • 0 helpfuls

join() and get.Value instead of push and toString()

Hello all, in the following script:     function testing {            var sysIDkey = [];    var GRfilter = new GlideRecord('incident');    GRfilter.addEncodedQuery('category='hardware');    GRfilter.query();    while (GRfilter.next()) {        sysIDk...

Resolved! If condition to check if manager is null not working

Hello,   I'm trying to create a workflow if condition to check if the requested_for.manager field is empty. I used the following script, but it's not working: answer = ifScript(); function ifScript() { if (current.requested_for.mana...

Brun by Mega Expert
  • 2258 Views
  • 3 replies
  • 5 helpfuls

Resolved! Schedule report on demand

Hello, We need to send a report on demand to its requestor.  The idea is to have a catalog item requesting a specific report. Once the request is submitted we can use the dedicated schedule job created for that report and run:SncTriggerSynchronizer.e...

How to use onUserchangeValue(function fn) { } ?

Hi , Please  can you give me the scenario for the use of this script:  onUserChangeValue(Function fn) this function how to use and where var handler = function(fieldname, originalValue, newValue) { console.log('The field ('+ fieldname + ') has a ne...