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

Forum Posts

GlideDateTime.subtract doesn't work

I used the following commands on default value to calculate the number of days subtracting current date to due date but didn't work. Any comment or advise is greatly appreciated.javascript:calendar_duration = GlideDateTime.subtract(due_date.getDispla...

abrouf by Kilo Sage
  • 6857 Views
  • 21 replies
  • 0 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
  • 3205 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
  • 4786 Views
  • 5 replies
  • 0 helpfuls

attaching workflow for ritm

Hi ,I had requirement : To reopen the request and a new ritm should be created and new task created.So I did ui action Reopen. It is reopen request and creating ritm but the workflow is not attched to new ritm. Can any one help me how to attach same ...

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 Giga Expert
  • 6397 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
  • 3945 Views
  • 22 replies
  • 2 helpfuls

failed authenticating using authentication code

hey,I try authenticating through Oauth to my instance using authentication code.I fail with 401 unauthorized{       "error_description": "access_denied",       "error": "server_error"}my flow:I configured my instance to use my authentication server.t...

Resolved! automated test framework delete records

hi all,The record delete step in automated test framework , is not actually deleting records, but in the test result log it shows as record has been deleted.Also, we can see records deleted in deleted records.any clue why the records are not getting ...

Screen Shot 2017-10-24 at 3.35.38 PM.png
Kaleem A by Giga Guru
  • 2703 Views
  • 2 replies
  • 1 helpfuls

Resolved! Transform Map java.lang.NullPointerException

We have a Transform Map that was working fine prior to our upgrade to Jakarta. Post upgrade, we're now finding that it fails on the first record with nothing but "java.lang.NullPointerException" as the error.If we set the first record to Ignore, then...

Anchor Points on the Portal?

Hello - pretty new to coding. My company is on Helsinki, and we have an end user Portal. I have created some anchor points in a knowledge article using the method here: ServiceNow Knowledge: Create Anchor (Internal) Links in an Article | IT@UMN The g...