SysAdmin forum
NEW area for SysAdmin to gather and discuss best practices and how-to's
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Scripting

Write an example of a GlideRecord script to retrieve all records from a table called "incident" where the status is "New". is it right? var gr = new GlideRecord('incident');gr.addQuery('state', '1');gr.query();while (gr.next()) {gs.print('Incident Nu...

Sofvrg by Tera Contributor
  • 245 Views
  • 1 replies
  • 0 helpfuls

Resolved! Custom table

 is it right? What steps would you follow to create a custom table?To create a custom table in ServiceNow, navigate to the Application Menu, select the "Tables" module under "System Definition", or use the "Table and Column" module to view and create...

Sofvrg by Tera Contributor
  • 2178 Views
  • 3 replies
  • 3 helpfuls

GlideRecord

Is it right? Here is a GlideRecord script. Find the error, correct it, and explain: The script is incorrect because you need to add gr.query(). Here is the correct script:var gr = new GlideRecord('task');gr.addQuery('active', true);gr.query();while (...

Screenshot 2024-12-09 alle 11.03.33.png
Sofvrg by Tera Contributor
  • 268 Views
  • 1 replies
  • 0 helpfuls

Flow designer

Design a logical flow to automatically approve service requests with a cost of less than 100 euros and forward them to the management team for requests exceeding 100 euros.

Sofvrg by Tera Contributor
  • 456 Views
  • 4 replies
  • 1 helpfuls

Resolved! Reference field

What is a reference field in ServiceNow, and how is it used to create relationships between different tables?

Sofvrg by Tera Contributor
  • 1384 Views
  • 7 replies
  • 6 helpfuls

How to enable only some list links

I was looking for a way to disable some links in a list fieldhttps://www.servicenow.com/community/sysadmin-forum/disabling-some-field-links-on-the-list-screen/td-p/3122395  I tried disabling the link function of the list screen using the list control...

inc_list1.JPG inc_list_c.JPG inc_list_2.JPG
bonsai by Mega Sage
  • 305 Views
  • 1 replies
  • 2 helpfuls

Disabling some field links on the list screen

I would like to disable only the links in the red framed fields on the list screen. I'd like to leave the "Number" and "Author" links enabled, but disable the "Category" and "Knowledge base" links.Is this possible?

list_k.png
bonsai by Mega Sage
  • 875 Views
  • 8 replies
  • 4 helpfuls

Resolved! CSA EXAM

 Table A extends Table B. Field X is created on Table A. Which of the following statements is true?a) Field X is available only on Table A.b) Field X is available only on Table B.c) Field X is available on both tables.d) None of the above is true.Exp...

Sofvrg by Tera Contributor
  • 663 Views
  • 5 replies
  • 4 helpfuls

Resolved! "Repeat" Scheduled trigger in Flow Designer

(I've tried looking for this information in ServiceNow docs and have come up empty.) I've created a new flow in Flow Designer. The flow needs to run every 7 days. I've selected the "Repeat" trigger option and specified 7 days in the parameter. My que...

CMartin0423 by Tera Contributor
  • 1003 Views
  • 1 replies
  • 1 helpfuls