<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Validation on two reference field in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076657#M1085</link>
    <description>&lt;P&gt;Hi Team ,&lt;/P&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one requirement for my project: there is a record producer with two fields, '&lt;FONT color="#FF0000"&gt;Select Primary Approver&lt;/FONT&gt;' and '&lt;FONT color="#FF0000"&gt;Select&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;Secondary Approver.&lt;/FONT&gt;' Both fields are reference fields that refer to the sys_user table. The requirement is that if I select a user, for example, Abel Tuter, in the '&lt;FONT color="#FF0000"&gt;Select Primary Approver&lt;/FONT&gt;' field, I do not want that user to be available in the '&lt;FONT color="#FF0000"&gt;Select&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;Secondary Approver'&lt;/FONT&gt; field."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (1).png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/395652i6612B233DCF1500F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="image (1).png" alt="image (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2024 14:35:40 GMT</pubDate>
    <dc:creator>Community Alums</dc:creator>
    <dc:date>2024-10-17T14:35:40Z</dc:date>
    <item>
      <title>Validation on two reference field</title>
      <link>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076657#M1085</link>
      <description>&lt;P&gt;Hi Team ,&lt;/P&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one requirement for my project: there is a record producer with two fields, '&lt;FONT color="#FF0000"&gt;Select Primary Approver&lt;/FONT&gt;' and '&lt;FONT color="#FF0000"&gt;Select&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;Secondary Approver.&lt;/FONT&gt;' Both fields are reference fields that refer to the sys_user table. The requirement is that if I select a user, for example, Abel Tuter, in the '&lt;FONT color="#FF0000"&gt;Select Primary Approver&lt;/FONT&gt;' field, I do not want that user to be available in the '&lt;FONT color="#FF0000"&gt;Select&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;Secondary Approver'&lt;/FONT&gt; field."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (1).png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/395652i6612B233DCF1500F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="image (1).png" alt="image (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 14:35:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076657#M1085</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-10-17T14:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Validation on two reference field</title>
      <link>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076672#M1086</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Community Alums&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A simple Catalog UI policy would work.&lt;/P&gt;
&lt;P&gt;Conditions -&amp;nbsp;&lt;SPAN&gt;Select Primary Approver ||&lt;/SPAN&gt; is not empty ( Change your conditions accordingly)&lt;BR /&gt;In UI Policy actions - Select&amp;nbsp;Select&amp;nbsp;Secondary Approver field and check Hidden true, mandatory false.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 14:46:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076672#M1086</guid>
      <dc:creator>Voona Rohila</dc:creator>
      <dc:date>2024-10-17T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Validation on two reference field</title>
      <link>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076686#M1087</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/77305"&gt;@Voona Rohila&lt;/a&gt;&amp;nbsp; &amp;nbsp;the requirement is selected user in primary approver field is not available&amp;nbsp; in secondary approver field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for ex -&amp;nbsp; In&amp;nbsp;primary approver field&amp;nbsp; &amp;nbsp;If I select "Abel tuter" then I don't want Abel Tuter in&amp;nbsp;secondary approver field&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 14:53:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076686#M1087</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-10-17T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Validation on two reference field</title>
      <link>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076712#M1089</link>
      <description>&lt;P&gt;Ohh Okay, You can write a advanced reference qualifier on&amp;nbsp;&lt;SPAN&gt;secondary approver variable dictionary.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;javascript&amp;amp;colon; 'sys_id!='+current.variables.variablename // replace variablename with first approver variable name.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VoonaRohila_0-1729177863231.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/395664i97778EE2DC89E7BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VoonaRohila_0-1729177863231.png" alt="VoonaRohila_0-1729177863231.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Mark it helpful if this helps you to understand. Accept Solution if this gives you the answer your looking for!!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:11:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3076712#M1089</guid>
      <dc:creator>Voona Rohila</dc:creator>
      <dc:date>2024-10-17T15:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Validation on two reference field</title>
      <link>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3082044#M1115</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Community Alums&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is how you should configure your reference qualifier on the second reference field.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;javascript&amp;amp;colon;'sys_id!='+current.variables.requested_by(replace with first variable name);&lt;/LI-CODE&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you find it helpful, please mark my answer as correct so that it can useful to others.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sumanth Meda&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 19:31:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3082044#M1115</guid>
      <dc:creator>Sumanth16</dc:creator>
      <dc:date>2024-10-23T19:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Validation on two reference field</title>
      <link>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3082045#M1116</link>
      <description>&lt;P&gt;Is this the same answer I provided&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/243637"&gt;@Sumanth16&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 19:34:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3082045#M1116</guid>
      <dc:creator>Voona Rohila</dc:creator>
      <dc:date>2024-10-23T19:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Validation on two reference field</title>
      <link>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3083946#M1131</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for marking response as helpful, Is your issue fixed?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 14:30:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/validation-on-two-reference-field/m-p/3083946#M1131</guid>
      <dc:creator>Voona Rohila</dc:creator>
      <dc:date>2024-10-25T14:30:41Z</dc:date>
    </item>
  </channel>
</rss>

