<h2>Apply ACL script conditions to reference fields</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="reference" /><meta name="DC.title" content="Apply ACL script conditions to reference fields" /><meta name="abstract" content="Use the glide.sys_reference_row_check system property to enable scripted conditions for reference fields." /><meta name="description" content="Use the glide.sys_reference_row_check system property to enable scripted conditions for reference fields." /><meta name="DC.subject" content="ACLs, controlling whether script conditions apply to reference fields" /><meta name="keywords" content="ACLs, controlling whether script conditions apply to reference fields" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2025-01-30" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="r_ContScriptCondAppRefFld" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Apply ACL script conditions to reference fields</title></head><body id="r_ContScriptCondAppRefFld"> <h1 class="title topictitle1" id="ariaid-title1">Apply ACL script conditions to reference fields</h1> <div class="body refbody"><p class="shortdesc">Use the <span class="keyword parmname">glide.sys_reference_row_check</span> system property to enable scripted conditions for reference fields.</p> <div class="section"> <p class="p">The default behavior is intended to improve instance performance. If you want to enable script conditions for reference fields, add the following system property.</p> <div class="note"><span class="notetitle">Note:</span> For more information on creating system properties, see <a class="xref" href="administer/reference-pages/reference/r_AvailableSystemProperties.html#t_AddAPropertyUsingSysPropsList" target="_blank" rel="noopener noreferrer">Add a system property</a>.</div> <div class="p"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="r_ContScriptCondAppRefFld__table_vf1_5ff_2r" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap"><span class="table--title-label">Table 1. </span>System property</span></caption><colgroup><col /><col /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d232566e74">Property</th><th class="entry cellrowborder" style="vertical-align:top;" id="d232566e77">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d232566e74 ">glide.sys_reference_row_check</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d232566e77 ">Controls whether the script conditions of Access Control Rules apply to a table's reference fields.<ul class="ul" id="r_ContScriptCondAppRefFld__ul_blj_wff_2r"><li class="li">Type: true | false</li><li class="li">Default value: <span class="ph uicontrol">false</span></li><li class="li">Location: <a class="xref" href="administer/reference-pages/reference/r_AvailableSystemProperties.html#t_AddAPropertyUsingSysPropsList" target="_blank" rel="noopener noreferrer">Add a system property</a> to the System Properties [sys_properties] table</li></ul> </td></tr></tbody></table> </div> </div> <div class="note"><span class="notetitle">Note:</span> If the <span class="keyword parmname">glide.sys_reference_row_check</span> system property is not present, or has been set to false, script conditions for Access Control Rules are not applied. This means an ACL containing scripted conditions will pass it's check as long as the other ACL criteria are met (such as role requirements).</div> </div> </div> </body></html></div>