The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

How to show duration (after datediff) in reports

See my report setup below. I added a calculated field "Outage Duration" which uses datediff function provided by ServiceNow report to find difference between outage start and resolved date. However, as you can see it shows duration field value as "12...

find_real_file.png
TT3 by Kilo Guru
  • 623 Views
  • 1 replies
  • 0 helpfuls

Resolved! Outages Related List Issue

Hi, Hopefully an easy one for a Friday. We have added an outages related list to both incident and change forms. When you create a new outage, it takes you to the cmdb_ci_outage table, but when you click on the outage record number it takes you to th...

find_real_file.png
Cirrus by Kilo Sage
  • 1011 Views
  • 1 replies
  • 0 helpfuls

Agent Workspace Modal - Size issue

Morning! I am in the process of setting up Agent Workspace for our organisation and am working through our custom UI actions to get them working. One such UI action is for creating customer chases - it's a very simple action that displays a specific ...

Joe B2 by Giga Guru
  • 3367 Views
  • 2 replies
  • 9 helpfuls

Resolved! Cannot figure out why form field does not update at end of script

I have been pulling my hair out trying to figure why my scheduled job script is not updating the actual form field. I am  calculating the duration a form is in a state on a daily basis, and adding the new value to the existing value (running tally). ...

Digit by Kilo Guru
  • 915 Views
  • 5 replies
  • 1 helpfuls

Resolved! Journal Input Field not visible to non-Admin

I have a scoped app that has a table not extended from anything that has a field called Comments that is a Journal Input field.  When I open the form up as a non-Admin user, no matter what I try, the field is not visible on the form.  I have turned o...

How should i add space in the mailscript

Hi , how to add the space in the following script line in the notification mail script : template.print(' The request to add/remove access for '+current.variables.requested_for.first_name+' has been processed.'); In the above script , i want to add t...

Naresh291 by Tera Contributor
  • 2717 Views
  • 20 replies
  • 5 helpfuls

toFixed() not working in client script

This script works as expect until I add toFixed() to shorten the decimal places to two.  Error in screenshot below. Can someone offer me an alternative?   function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (isLoading || newVal...

find_real_file.png
johannaS by Tera Expert
  • 994 Views
  • 1 replies
  • 0 helpfuls

Resolved! How to use user_id in user criteria

I have a user criteria, which is working fine but when validating using "User Criteria Diagnostics tool " its failing , after some reasearch came to know that we need to use user_if as part of the KB0750243   Below is my user criteria, how do I  make...

RudhraKAM by Tera Guru
  • 2214 Views
  • 2 replies
  • 2 helpfuls

Resolved! Stopping business rule processing on background script

We are attempting to retroactively update a batch of change records (about 2000) to populate a field that was developed as mandatory.   No problem there, developed a background script.Only problem is that the script appears to be triggering business ...

tahnalos by Kilo Sage
  • 17185 Views
  • 6 replies
  • 10 helpfuls

Resolved! How to run business rules?

Hello,I am trying to run the following business rule to update or insert a record into my table: u_lol_databasesI placed the following script in the u_lol_databases business rules.   I also used the condition onDisplay.. assuming the table will updat...

Capture.PNG
zsquared by Tera Contributor
  • 5488 Views
  • 6 replies
  • 1 helpfuls