We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

Resolved! Prevent Recursive loop script

Hello, There is a parent/child feature in Incident Management where a record can be added to an incident as that incident's parent record. If the parent record has been added, that same record cannot be added as a child. This is a OOTB recursive scri...

Pat Surtan by Tera Expert
  • 2648 Views
  • 8 replies
  • 0 helpfuls

Resolved! How to write a Query Business Rule?

Hi all, I have a requirement where I have to show a List view of incidents  which are assigned to my group only. I know this can be achieved by Before Query BR but I have never written a query BR.  Can anyone help me with it. Thanks!! 

Sid_Takali by Kilo Patron
  • 9731 Views
  • 4 replies
  • 9 helpfuls

Resolved! Add checkbox field on Incident form

Hello all,I am trying to add a checkbox field on my incident form, but when I configure the form layout and try to create a new field the checkbox type is not available.Is adding a checkbox variable even possible on an incident form?Thanks,Grace

find_real_file.png
gnunez by Kilo Guru
  • 16290 Views
  • 6 replies
  • 10 helpfuls

How to go back to the first record for GlideRecord

Hi all, I am using GlideRecord like: How to go back to the first record for GlideRecord: var gr_incident = new GlideRecord("incident");gr_incident.addQuery("xxx");gr_incident.query(); while(gr_incident.next()) { } After the loop, I want to loop the g...

Browser tab name

Hello, we are currently in san Diego with next experience enabled. So the issue is with browser title name when we navigate to all hr cases.. Most of the time it shows correct and only few times .. like once in 50 or 60 times it shows a different tit...

TAB 1.png
radt by Kilo Guru
  • 1304 Views
  • 1 replies
  • 0 helpfuls

Resolved! NO_attchment not working .... why?

 Hi,somehow hiding attachments does not work! I do as described here ... but still i can add and still the button is available ...  Solved: Re: How to disable attachments option? - Page 2 - ServiceNow Community Any idea why? Is a scoped table ... thi...

no attachment.jpg
Zod by Giga Guru
  • 1693 Views
  • 2 replies
  • 1 helpfuls

Send email when new record is inserted

Hello team,I have created a user on ServiceNow with an admin account. When this new user or record is inserted in sys_user table I want an email should be sent to the user that is created on the same email that is provided.

jitendra2027 by Tera Contributor
  • 2109 Views
  • 7 replies
  • 0 helpfuls

Resolved! SLA breached on weekends

Hi Community, I have a situation here ,I've created a schedule for SLA to run only on weekdays, but it is breaching on weekends as well, attachedare the schedule and schedule entry  is the screenshot of the SLA schedule, please help on this

schedule entry.PNG schedule.PNG

Use of ATF in Service portal

Hi I am working in Automation Test Frame work . Request someone to help me let me know how to open an existing incident in service portal via ATF. Actual scenario is I need to automate an entire work flow of creating an incident till closing it. I am...

Vidyadharan by Kilo Explorer
  • 5874 Views
  • 7 replies
  • 0 helpfuls

Resolved! Not able to delete record from sys_user_has_role

Hello, We recently imported user records from one instance to other. Due to this import Roles associated to users also got importedWe want to remove roles associated to user records and option not available We checked option not available on 'sys_use...

Shridhar1_1-1667291595692.png
Shridhar1 by Tera Contributor
  • 5875 Views
  • 11 replies
  • 7 helpfuls

Assignment Rule script based on variables of record producer

Hello, I need help. I am trying to write an assignment rule script based on variables of record producer undre table (sn_sm_legal_request). I tried with below script but failed (nothing happen). Can anyone advise? var entity = producer.variables.alig...

Bird1 by Mega Sage
  • 1849 Views
  • 11 replies
  • 1 helpfuls

saveResponseBodyAsAttachment not working

I am trying to download a file from API response and attach it to a task record. The below is my code. Everything is working fine and the file is also getting attached to the task record. But the file is not loading. If i open it in a separate tab, t...

charanya by Tera Contributor
  • 1542 Views
  • 1 replies
  • 0 helpfuls