We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! How to get month wise view on incident dashboard ?

My Requirements is I know this is complete when the Overview dashboard includes the following: - Incidents by month stacked by priority (by create date – rolling 12 months) - Incidents by the team (assignment group) – current calendar year – metric ...

find_real_file.png
Sandeep35 by Kilo Contributor
  • 11211 Views
  • 5 replies
  • 6 helpfuls

Resolved! Aggregate count not working

Hello All, the aggregate count is not working as expected.  Please help.  The dot-walk addQuery should return a count of 100 for example, but I am getting 0 results. var count = new GlideAggregate('alm_hardware'); count.addQuery('model.u_field'...

Dead Blade by Kilo Guru
  • 4952 Views
  • 37 replies
  • 13 helpfuls

Resolved! Inbound email action

gs.include('validators');if (current.getTableName() == "incident" && current.incident_state !='7' && current.incident_state !='6' ) {            //gs.log('Enter');    var str=email.body_text;    current.comments ="reply from: " + email.origemail + "\...

test1231998 by Tera Contributor
  • 2083 Views
  • 3 replies
  • 3 helpfuls

Resolved! JavaScript String search() Method

Hi Community, Hope you are all keeping well. I have a particular use case for scripting in flow designer whereby I want to scrape the body of an email and search for the text that contains the Ticket Description: [Ticket: Description] in the body as ...

SW7 by Tera Guru
  • 3128 Views
  • 9 replies
  • 2 helpfuls

Resolved! how to view response time in incident list.

Hi Team, In incident list, we can able to access the response time and sla start fields related to task sla but the values are empty. Is there any way to obtain their values from the respective tables and view them in incident list?   From the above...

find_real_file.png
padmaja9 by Tera Contributor
  • 2920 Views
  • 9 replies
  • 0 helpfuls

MID Server and Java

Hi, we have three Windows server where our MID servers are installed on. On one of them Java Version:- Java 8 update 231 is installed and as far as I know the MID Server only needs the JRE. My Question is, if Java can be uninstalled on this server wi...

Resolved! UI action not available in Record producer?

I am creating a record producer which would create a demand record. However the front end has lots of fields and there are fields to be shown / hidden based on a select box. In a catalog item, normally I would use UI action to hide/show fields. Here ...

vgi by Giga Contributor
  • 1835 Views
  • 4 replies
  • 2 helpfuls

Resolved! UI Action To Save To Work Notes

I have a UI Action button that when clicked it will ask the user to enter in a comment before closing the record (inactive it). I followed this guide here to render the comment box on the platform view and it works. However, when I click on "ok" all...

find_real_file.png find_real_file.png
JDX7913 by Tera Guru
  • 2994 Views
  • 3 replies
  • 2 helpfuls

Resolved! Identify the groups with just one member

At the moment some of the approval groups have just one member in the group.   I have to identify those groups so that we can add additional members.   How can I find the gorups with just one member?Thanks

LK11 by Mega Expert
  • 4190 Views
  • 9 replies
  • 13 helpfuls

Client script to redirect in Service Portal

I have written a UI action to duplicate a record and would like to redirect to the new record in the Service Portal. I know the action.setReturnURL will not work in the portal. I know the $window is not available. I have read that top.window.location...

find_real_file.png
gregrice by Tera Expert
  • 2669 Views
  • 1 replies
  • 0 helpfuls

Resolved! Onchange client script for when a field changes

Hello, We have a requirement where a filed needs to change based on another field.  If "Cost center" change then "EOC" should display the "list of codes" based on selected "Cost center" I'm a novice at scripting. Any help would be greatly appreciated...

GB14 by Kilo Patron
  • 5935 Views
  • 12 replies
  • 0 helpfuls

how to popup the url in same window

hi everyone, I am using a following HTML code in one of my portal widget.  <div> <!-- your widget template --> <div> <button type='link' ng-click="c.generatePassword()"style="color:black;">url</button> </div></div> for now when we click on the url it...

service buzz by Tera Contributor
  • 2314 Views
  • 15 replies
  • 1 helpfuls