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

Forum Posts

Resolved! check for is NOT new record in client script

I know how to check if a record is new in a client script by using g_form.isNewRecord(), but I want to check if the record is not new. Can anyone tell me how to do that? I'm trying to make work notes mandatory on AG change, but only if the incident i...

dianeled by Kilo Guru
  • 7227 Views
  • 1 replies
  • 3 helpfuls

Form field not visible in a domain separated environment.

Hi, I have minimal knowledge on Domain separation. My instance is domain separated, and a field on the incident form is not visible. It should be visible on incident form only in particular domain. The field is visible on our Dev instance but missing...

Ashwini3 by Kilo Contributor
  • 2134 Views
  • 2 replies
  • 0 helpfuls

Resolved! Where is the event trigger found?

I created an outage which works fine if I start the outage right away but if I schedule a planned outage it will not fire. My thought is that because the notification for the immediate outage start begins when an event outage.begin.notif triggers the...

find_real_file.png

User profile lock out for 3 unsuccessful login attempts

Hi All, 1) Requirement1 : I have on requirement that if user enters 3 time wrong password in LOGIN.DO page user profile should lock out.Currently i find one OOB script to lock user profile and its working for LOGIN.DO page. var gr = new GlideRecord("...

aahitha2 by Mega Expert
  • 3338 Views
  • 3 replies
  • 0 helpfuls

Resolved! How do I get autoSysField(false) to work?

How is autoSysField(false) supposed to work? I'm trying to use it in a background script to retroactively update request record that are closed but still in the active state and I don't want the sys_updated_by and sys_updated_on to be changed. With t...

Resolved! Update incident.state when attachment is added by caller

HI All, I want incident.state to be updated when an attachment/image is attached to the incident by the caller or opened_by. Scenario: In some cases we request the caller/opened_by to provide additional information in order to resolve an incident. As...

soren_bogvad by Tera Contributor
  • 2811 Views
  • 5 replies
  • 1 helpfuls

Delete orphan records from sys_user_has_role table

Hi Team, Platform  is Jacarta I have an issue with deleting orphan records from sys_user_has_role table.   Gee, answered, install plugin Contextual Security: Role Management Enhancements (com.glide.role_management.inh_count) https://community.service...

tiagomacul by Giga Sage
  • 2898 Views
  • 5 replies
  • 33 helpfuls

Records missing from Table API results

I have been developing an application automate data exports from ServiceNow. Mostly everything works great but there is one issue that has been been bothering me for some time. When querying the Table API often response pages do not contain the numbe...

MikeD314 by Kilo Contributor
  • 4378 Views
  • 8 replies
  • 4 helpfuls

Resolved! ServiceNow Development Process

I have a process question for fellow #ServiceNow developers.  How do you manage your ServiceNow development cycle from request to completion?  In ServiceNow using the Agile process? Epics > Stories, etc? Using SCRUM or Kanban-style board? If so, how ...

Resolved! Display Info message only on list layout

Hello, I have a " before query" business rule that displays info message. Before query business rule configuration is, When:                            Display Query Advanced tab:   var c='Use * to search';gs.addInfoMessage(c);   The issue is the inf...

G Balaji by Kilo Guru
  • 4025 Views
  • 2 replies
  • 5 helpfuls