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

Forum Posts

Resolved! convert values to lowercase?

hi,   i have 1 field which is a single line text, now i want to convert the value of that field to lower-case so i used .toLowerCase() and toLowerCase.toString() methods but am getting values as undefined . how to resolve this?

Resolved! OnChange Client Script using GlideAjax

Hi All, I have a requirement, If Opened by user is part of an Assignment Group then a responded checkbox should be default checked. I thought to using OnChange() client script using GlideAjax . Can anyone help me how to do it?    

SNOW32 by Giga Expert
  • 4562 Views
  • 6 replies
  • 3 helpfuls

Resolved! Background script to change read-only value

Hi,  I am new to coding. Please show me what I need to do with my script to change a value for Company Field which is read-only in Task [task] Table?  var gr = new GlideRecord('wm_task’); gr.addQuery('sys_id', '047e9966db4993449af93c9b7c9619ac'); gr....

KazmiB90 by Tera Expert
  • 4807 Views
  • 4 replies
  • 4 helpfuls

Resolved! REST webservice response {"error":{"message":"Exception while reading request","detail":"Cannot decode: java.io.StringReader@1bb1c76"},"status":"failure"}

Hi, i am doing a rest integration with two servicenow instances for incident module and i am getting below error for response when REST service is initiating the call. {"error":{"message":"Exception while reading request","detail":"Cannot decode: jav...

sry by Giga Guru
  • 3614 Views
  • 4 replies
  • 0 helpfuls

Resolved! set assigned to in catalog task from variable

Hi, I was wondering how to set the "Assigned To" variable in a catalog task from a reference field (sys_user). In my workflow, I currently have this: The user is supposed to select the variable within the catalog task. When the user has selected the...

find_real_file.png find_real_file.png
TCarn by Giga Contributor
  • 4265 Views
  • 4 replies
  • 2 helpfuls

Resolved! Is it possible to create a second Activities formatter?

Hello, Is it possible to create a second Activities(filtered) formatter that is independent from the Out of Box entry? I have created a new one with a new name on the Incident table, but when I configure activities on this, it also changes the activi...

CharlesR1 by Kilo Guru
  • 5445 Views
  • 8 replies
  • 2 helpfuls

Automatically populate current user

I have a catalog item request form and for the user I am using a lookup Select Box from the sys_user table so my lookup value can be a specific value that I populated in the table and the label field to be user_name.   I want it so it automatically p...

gm01 by Kilo Explorer
  • 4652 Views
  • 3 replies
  • 0 helpfuls

Resolved! Create Dynamic Filter for Incident Date/Time Fields

Hello, I wish to add a Dynamic Filter to all the date fields of the Incident table and have it selectable from the condition builder while building queries on the Incident table. Ex: Created, Opened, Resolved, Closed. I have created a dynamic filter ...

find_real_file.png
JosephW1 by Tera Guru
  • 6172 Views
  • 4 replies
  • 2 helpfuls

Survey stuff (smiles, increase response rate, etc)

Greetings Community,I have a recent requirement to make surveys more friendly and appealing to increase response rates, and by this, one example is to add pictures (i.e. smiley faces) and possibly embed surveys in emails to send the response to Servi...

vant by Tera Expert
  • 17880 Views
  • 44 replies
  • 5 helpfuls

Resolved! Run Script to set Due Date on RITM

We have a need to update the RITM Due Date after a SCTASK is closed(there is a date variable that is selected on this task).  Once the date/time variable is selected, the task is closed, and we want the RITM Due Date to match the variable date/time s...

find_real_file.png
booher04 by Tera Guru
  • 7257 Views
  • 12 replies
  • 3 helpfuls

Unable to add new rows into an Embedded List

I two custom tables for eg u_doc_rev_task and u_doc_rev_task_comm. I created a relationship that queries from u_doc_rev_task_comm which applies to the table u_doc_rev_task_comm. Added the relationship as an embedded list to the form. I dont see the +...

chakings22 by Mega Contributor
  • 2742 Views
  • 3 replies
  • 2 helpfuls

Click Modal Button is not working

Hi All, I am writing ATF for major incident. When I write step to click on Promote to Major Incident ui action, a UI page opens up (shared in screenshot). In test steps , I set field values and then write step as Click on modal button but getting fai...

Scripted REST API creating duplicate records

Hello everyone, Hope you are doing good! Here came a situation where we have a scripted rest api wherein a third party system creates records in the ServiceNow instance. But the third party system sends the data rapidly and the scripted rest api isn'...