Servicenow client script make field visible. The client scripts were written based on the state and assignment group to add the relevant options . " "Create another action for policy 'Show Justification' to hide the 'alternative_software' variable. When using standard client scripts on a Requested Item or Catalog Task form, make a note of fields with the same name as variables. Below is a list of commonly used GlideForm (g_form) client side code that you can come back to daily while writing scripts in ServiceNow. I want to achieve this using either UI policy or Client script, don't want to use ACL's. If a table field and a variable of the same name are both present on a form, the table field is matched when it is accessed using a script. The examples are grouped by: UI Policies & Client Scripts: Making fields visible, mandatory, or read-only based on conditions. Because client scripts execute locally, they provide immediate feedback without requiring a server round-trip. We can use UI Policy scripts to create complex conditional checks or to take actions other than setting field attributes (mandatory, read-only, or visible). I have two reference field, i need to get the first name of both variables to be shown on my email notification. wwcam cusp klctx oqt fre khvxm akl qwao qlvq zkiorb