Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Type change not allowed. Invalid type conversion for field 'System Name' on table 'Incident'. Cannot convert from 'Choice' to 'Reference'. There exists data records (26604) that are not a Sys ID.

Hi All,I was trying to change the type of field on Incident from 'choice' to 'Reference'. I got the error as 'Type change not allowed. Invalid type conversion for field 'System Name' on table 'Incident'. Cannot convert from 'Choice' to 'Reference'. T...

peshwen by Giga Contributor
  • 7126 Views
  • 6 replies
  • 4 helpfuls

Duplicate records in parallel Rest API

Hi I have Scripted Rest API that creates task records from another applications.We have a unique key (the field in the task table is unique = true) . If there are several requests from the APis with the same unique key there are more then one record ...

noa by Tera Contributor
  • 1566 Views
  • 3 replies
  • 0 helpfuls

Resolved! How to write Advanced reference qualifier & Script Include

Hi, I want to set a person who belongs to the same department as the applicant's department. But it returns an error.. What's wrong?   Script Include: var getMyDepartments = Class.create();getMyDepartments.prototype = { initialize: function() {},getD...

find_real_file.png find_real_file.png
Mi4 by Tera Expert
  • 22375 Views
  • 9 replies
  • 9 helpfuls

Resolved! Script include for advanced reference qualifier

Hello experts I am facing a issue with a script include I am using in for a advanced reference qualifier. The customer I am working with is using the Service Desk Call application. If they the Call type is set to incident, they should be able to choo...

find_real_file.png find_real_file.png find_real_file.png

Resolved! Advance reference qualifier filter on reference

Hi, I have a catalog item which contains a variable "Select Group'' which is reference type to u_groups . u_groups table sample list view u_group_nameu_owner(Refrence to sys_user)u_coordniator(Reference to u_custom_accounts)ABCYousafMohit   I want th...

Akki1 by Tera Contributor
  • 1336 Views
  • 4 replies
  • 1 helpfuls

Resolved! Advanced Reference Qualifier

I am trying to use the script include from Wiki;Reference Qualifiers - ServiceNow Wiki   --> javascript:new BackfillAssignmentGroup().BackfillAssignmentGroup()I tried logging the values of the comma separated string, which is accurate, but the filter...

divvi_vamsi by Mega Expert
  • 14855 Views
  • 17 replies
  • 4 helpfuls

Resolved! Serviceportal catalog item popup with link

When we click on in serviceportal catalogitem field choice value yes then should be open a popup message with red color with following other catalog item ,when we click on that link it should be redirect to other catalog item(example:this is not your...

sindu3 by Tera Contributor
  • 1052 Views
  • 4 replies
  • 1 helpfuls

Duplicate tickets creating with same ticket number

Hi, We have updated inbound script with the working code (script given below), surprisingly servicenow creating two incidents with the same incident number. Not sure how can this be possible to have the same incident tickets in service now. Here atta...

HariS1_0-1671823328530.png
Hari S1 by Tera Contributor
  • 826 Views
  • 1 replies
  • 0 helpfuls

How to do onChange in Service Portal widget

Hello, Currently, users can have multiple email addresses associated with their servicenow profile, and only one can be their preferred email address. I am trying to add a dropdown select box to the service portal user profile widget that will allow ...

Bruler1230 by Tera Expert
  • 4070 Views
  • 4 replies
  • 0 helpfuls

Resolved! Script updating fields and "updated by"

Hi guys! Forgive my ignorance and help me out with something.I wrote a scheduled script that runs everyday closing incidents that are pending for a specific reason. The problem is, there's a data policy that only allows me to change the state if anot...

Fabriciofla by Tera Contributor
  • 1039 Views
  • 2 replies
  • 1 helpfuls