Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Resolved! Figuring out the run time of scheduled jobs

I've been trying to figure out how long certain jobs run by evaluating the sys_trigger table.The jobs I'm investigating are not in the definition table (sysauto) but are generated by some script. I can see when the job is created, but not when it fin...

Julian Hoch by ServiceNow Employee
  • 8321 Views
  • 4 replies
  • 2 helpfuls

Resolved! Interceptor Answer - Apply template

Hello, I am trying to figure out how to auto-populate fields when a new Emergency change is selected for creation. (Change > Create New )   When I configure the Interceptor answer, I would like to use the Target URL however the fields contain too muc...

find_real_file.png find_real_file.png
Michelle89 by Tera Contributor
  • 2909 Views
  • 2 replies
  • 1 helpfuls

MS Intune integration

Greetings We have switched from SCCM to MS Intune as our endpoint management system. I now need to integrate Intune with our ServiceNow instance. At this point I am not finding any direct integration products between ServiceNow and Intune. I have sea...

Resolved! Update of multiple records using glide record script

Hello All,I am trying to do a cleanup of some older RITM's that are effectively broken due to some workflow issues a few years back.I have the following script that will find any RITM's that are approved but have no tasks:var noTaskCounter = 0; var g...

Updating sysapproval_approver table in UI Action

In our form we have 'Request Approval' button. When user clicks this button what are all the approvalrecords with state = 'Request Approval' has to be updated with state = 'requested'. For this we added below code in 'Request Approval' action.var gr ...

Hemu1 by Giga Contributor
  • 6886 Views
  • 6 replies
  • 4 helpfuls

Unable to pull in employeeID attribute from AD via LDAP

Hi SN Community, I am attempting to pull in the employeeID attribute from an AD user object to its corresponding ServiceNow user record but without any joy.  I have specified the employeeID attribute in the 'Attributes' field on the LDAP Server form,...

Basim4 by Kilo Contributor
  • 4564 Views
  • 6 replies
  • 1 helpfuls

Request get cancelled when approval is pending after 10 days

Hello All,The requirement is to Explore on time limits for approving a request (reject after certain amount of time ) — If the approver does not approve the request within 5 business days, a notification should go to the approver asking them to appro...

gunjan1 by Kilo Contributor
  • 3856 Views
  • 4 replies
  • 0 helpfuls

Resolved! Business Rule to update a List type field.

Hello Everyone,   I have written a business rule to update a List type field, without clearing the existing values.  The following script, returns duplicate values to the field. Please suggest how can I overcome this issue.   var users = gr.u_report_...

How to build Gantt Chart Report for a custom table?

Hi Team, We have created a custom table. We want to generate a Gantt Chart Report on it. Could you please help me how could i achieve this? Is service now providing any OOB report types? If not, any other external report libraries available? Thanks i...

Resolved! Save record in glidemodal window without closing it

Hi guys, On agile board we have a list of stories. You can open a story by clicking on a number, which if I'm not mistaken is a glide modal window. We have the same UI actions as on a regular story form, but the save and update buttons here both clos...

Marton2 by Tera Expert
  • 3619 Views
  • 6 replies
  • 0 helpfuls

Resolved! Adding an attachment to scope application

Hi, I'm developing a scope application. As part of the development, I need to add an attachment to a record so that the record and its attachment will be a part of the application. I was able to add the record to the update set of the application but...

Mail script/html - how to add a thick line to separate sections

Hi, I appreciate everyone responding to my questions. I have another html / mail script question. I would like to add a thick line to cleanly separate different sections of the report. I can't seem to get it to work.   Thanks! This is part of the cod...

Sandy7 by Tera Expert
  • 2765 Views
  • 3 replies
  • 0 helpfuls