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

Forum Posts

Fields Units of Measure

Has anyone added custom units of measure to their database fields? For example, lets say I have a field that is a decimal and it stores the weight of something. I would like to add units to the label or even right next to the displayed value. So it w...

jfreise by Tera Contributor
  • 2623 Views
  • 3 replies
  • 0 helpfuls

Resolved! execute script in custom script field

HiI'm writing a new application and i want to add a cutom script field to a table that a workflow will locate via a glideRecord.The idea is the workflow will execute the script.I'm just a little lost on how to tell ServiceNow to execute a script in a...

NeilH2 by Giga Guru
  • 8684 Views
  • 11 replies
  • 5 helpfuls

Resolved! Update target with empty or Nulll value by transform?

Normally transform map doesn't update the target field with Null or empty value when the source field is empty or Null. I can use "source script" for Updating the target with Null when the source is Null. However I wonder whether there a simple prope...

Clear/Set value of g:ui_reference field in ui page

Hi Guys,         In the below UI page,                         1. I want a function wherein, if shared check box is enabled, Assigned to reference field should be cleared. I tried with the below client script, the value of assigned to field is changi...

"New" Button and "Related List Forms" in ATF

So I am trying to figure out how to possibly create a test in ATF that will allow me to either press the "New" button or click a hyperlink inside of an ATF test.I realize these will either open/navigate me to a new form/page. But I want to (at the ba...

RelatedListForm.PNG
flipflorey by Kilo Contributor
  • 3279 Views
  • 3 replies
  • 3 helpfuls

Resolved! Search Sources - Service Portal

Hi Community, I added a handful of Search Sources to my service portal, however I can't seem to get my last one (order 400, Documentation) to work. The other 3 work seamlessly, KB and SC are clones from the OOTB that I edited slightly while Cases ref...

Screen Shot 2017-12-12 at 10.43.27 AM.png Screen Shot 2017-12-12 at 10.43.41 AM.png
hanjie by Kilo Contributor
  • 5461 Views
  • 5 replies
  • 2 helpfuls

Resolved! UI Policy not making field visible

We've recently added a new State value to the Catalog Task table.Label: On HoldValue: -5When selecting this choice, a new field should be shown via UI Policy, On hold reason [u_on_hold_reason]This worked in our non-production instances, but once push...

ui policy_01.png ui policy_02.png ui policy_03.png ui policy_04.png
kirkr by Tera Expert
  • 3907 Views
  • 4 replies
  • 0 helpfuls

Resolved! GlideRecord not inserting if I add query()

I have two custom tables, table a and table b. Once a record is updated on table a I want to move the record to table b and delete it from table a. I should note that this is being run from a business rule. My approach://first gather all of the data ...

Resolved! Set value of list field type

I have a list field type (u_year) inside table sn_compliance_policy_statement. My choices in that list field are years, such as 2016, 2017, 2018, etc. I am trying to query all records with the active field set to true and then set the value of the u_...

find_real_file.png
trmiller by Kilo Expert
  • 5642 Views
  • 5 replies
  • 0 helpfuls

Resolved! Client Script to account for date format?

I have two date fields (not date/time) on a form that are used for the start and end of an event.I created a onLoad client script that calculates the difference between the start and end dates to return the number of days.   Additional fields will ap...

ndt13 by Tera Expert
  • 7174 Views
  • 7 replies
  • 6 helpfuls

On Incident form SLAs are not displayed

when i am Create An Incident as any user ITIL/userobserve that once incident created with all mandatory fields click on Tab Task SLAs when i observe that Task SLA tab is empty.expected:On Task SLAs tab, SLAs should be visible to the user.

find_real_file.png
naaani by Giga Contributor
  • 6126 Views
  • 22 replies
  • 2 helpfuls