We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! Pick list from a hierarchical table

We have a client that is using the Location field in a hierarchical manner that looks like this: RegionPhysical AddressFloor Works great until they go to use a Reference in another table. Then, all of the locations get lumped into one big list. I h...

jesterize by Tera Contributor
  • 1813 Views
  • 1 replies
  • 0 helpfuls

UI Policy - set all fields to Mandatory & Visible

Hello all, I create a UI policy to make all field ServiceNow Instance visible and mandatory only if the Change Category is ServiceNow.  The question is: how can I select all fields instead of do it one by one?

hongsok by Tera Contributor
  • 2512 Views
  • 3 replies
  • 0 helpfuls

Current.update in Business Rules

Hi All,I have below questions.1. What is best practice to use current.update in business rules?2. where we have to use in before or after BRs and why?Please explain me.Thank you.

Anil74 by Tera Guru
  • 18886 Views
  • 4 replies
  • 6 helpfuls

Calling script include from "scripts - background"

I am trying to test a script include by calling it from Scripts - Background but it is apparently not working for me. I am not sure what it wrong. I have inserted a log call into the top of the script include which should execute as soon as the funct...

Peter Farr by Giga Contributor
  • 5187 Views
  • 2 replies
  • 3 helpfuls

Resolved! Passing data between items in an order guide

We have an order guide to add a new customer and/or a new project. If the user wants to add a new customer and a new project with the same request, it presents 2 items. The customer address is collected in the first item (New Customer) and the projec...

Resolved! \$("sysparm_guide") doesn't work in Service Portal

I have a Catalog Client Script that acts on the form only when the item is being filled out in a specific Order Guide. However, we are trying to get everything to work in the Service Portal in Helsinki, but it seems that the $("sysparm_guide") in the...

scwillson by Mega Guru
  • 3354 Views
  • 9 replies
  • 1 helpfuls

Resolved! Form changes not getting saved

Version: Kingston I have added a couple of fields to fm_expense_line table and using a client script I update the value of one of the fields but the value updated by the script does not get saved to the db even though it shows on the form. Details: A...

Jack8 by Giga Contributor
  • 3506 Views
  • 3 replies
  • 0 helpfuls

Resolved! How to get the ID of an Annotation in form?

Hi All,I want to create an blue box Annotation and make it hide and re-appear through onChange() client script when the user change the state of the request. I know the coding for Client script except the Annotation ID. Please help me in finding Anno...

asfaque by Tera Contributor
  • 4866 Views
  • 4 replies
  • 4 helpfuls

Resolved! How to hide/display the annotations on the form

I have been trying to accomplish the following:  On a field name u_typeofrequestoptionsDisplay an Annotation field depending on the field value.If the field says "other" it will show the annotation field anno1if the field says "faq" it will display a...

nysbigdave by Kilo Expert
  • 12345 Views
  • 4 replies
  • 1 helpfuls