How To Use setValue() In A GlideRecord Query
What Is The setValue() Method? When you’re building out a GlideRecord query, you’ll frequently want to set a value, in your while loop. The setValue() … Read more
A ServiceNow Blog & Newsletter
What Is The setValue() Method? When you’re building out a GlideRecord query, you’ll frequently want to set a value, in your while loop. The setValue() … Read more
What Is g_form()? Fundamentally, g_form is a global JavaScript object that provides a number of methods for interacting with and manipulating forms in the ServiceNow … Read more
Why Use The orderBy() Method? What is orderBy() and why would you ever use it? Great question, we’d love to address it below. There are … Read more
GlideRecord On The Client vs Server If you ever see a GlideRecord query, anywhere on the client side, it’s a HUGE red flag. It indicates … Read more
Use subtract() To Get A Date Difference Here is a quick server side script where you can get the duration difference, between 2 GlideDateTime objects. … Read more
How To Add Days To A Date Scripting with time in ServiceNow can keep you up at night. It can be tricky, difficult to get … Read more
Why Require Work Notes, When Resolving/Closing an Incident? This requirement should be default in all ServiceNow instances. Especially for P1/P2 incidents. You’ll see this request … Read more
What Is g_form.save() There are so many use cases for this to be implemented. The scenario is that you’re working with a form, in some … Read more
Why Would You Want To Prevent A Form From Being Submitted In ServiceNow? This is a fairly common request that comes in from our end … Read more
Why Create A Minimum Field Length Requirement Say your end users aren’t filling out certain forms, as well as you’d like them to. As admins … Read more