<?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 Re: Hiding a variable on the request form but adding it to the catalog task in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843858#M194554</link>
    <description>&lt;P&gt;Hi Shankar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your replies; however, the variable is still showing up on the form even though I have the checkbox checked for applies on catalog tasks and it's missing from the catalog task.&amp;nbsp; I've provided two more screenshots.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 15:54:52 GMT</pubDate>
    <dc:creator>Laura12</dc:creator>
    <dc:date>2024-02-28T15:54:52Z</dc:date>
    <item>
      <title>Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2842511#M194510</link>
      <description>&lt;P&gt;We have a form that will create a catalog task after a first approval.&amp;nbsp; I'm using flow designer and in that catalog task, I want to add a catalog variable so that a member of that assignment group has to enter a value in that variable before closing the task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've added the variable to the catalog item; however, I also don't want it to show up when the user completes the form because the field is unrelated to the items on the form.&amp;nbsp; I only want to be able to add it to the catalog task.&amp;nbsp; Is there a way to do this?&amp;nbsp; I've tried a UI policy/action on the form where visible = false and the form is fine but when I added it to the catalog task, it was not visible.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 21:26:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2842511#M194510</guid>
      <dc:creator>Laura12</dc:creator>
      <dc:date>2024-02-27T21:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2842536#M194512</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a catalog UI policy on the respective catalog item and check the applies to catalog task only to show it on the catalog task alone. Also, use the catalog UI action accordingly or script it if required to show the field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Catalog UI policy script :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; shortDescription = &lt;/SPAN&gt;&lt;SPAN&gt;'short description of your catalog task'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(g_form.getValue(&lt;/SPAN&gt;&lt;SPAN&gt;'short_description'&lt;/SPAN&gt;&lt;SPAN&gt;) == shortDescription){&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_form.setDisplay('variable_name'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&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="ShankarManohar_0-1709070259957.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/333766i8D23CE8B39A4E99B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShankarManohar_0-1709070259957.png" alt="ShankarManohar_0-1709070259957.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shankar M&lt;/P&gt;&lt;P&gt;Mark the Answer correct if it helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 15:31:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2842536#M194512</guid>
      <dc:creator>Shankar Manohar</dc:creator>
      <dc:date>2024-02-28T15:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843788#M194551</link>
      <description>&lt;P&gt;I tried to enter your script into my UI Policy but there seems to be an issue.&amp;nbsp; I think it might have to do with me making the variable mandatory?&amp;nbsp; I've added screenshots of the error message and the ui policy and ui action.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 15:21:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843788#M194551</guid>
      <dc:creator>Laura12</dc:creator>
      <dc:date>2024-02-28T15:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843828#M194553</link>
      <description>&lt;P&gt;Hi Laura,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The solution is you either you use UI policy action to show the variable( EA support variables) or the script I provided to show only on the catalog task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Remove the script from the UI policy and make the variable ES Support Variable visible in UI policy action to Visible True. This will allow the ES Support levels will be only shown on the catalog task but not on the order form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : Script needs to be used only if you want to show variable on specific task(s). I corrected the syntax errors in previous posts and also in the variable_name, you should use your variable name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shankar M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 15:38:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843828#M194553</guid>
      <dc:creator>Shankar Manohar</dc:creator>
      <dc:date>2024-02-28T15:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843858#M194554</link>
      <description>&lt;P&gt;Hi Shankar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your replies; however, the variable is still showing up on the form even though I have the checkbox checked for applies on catalog tasks and it's missing from the catalog task.&amp;nbsp; I've provided two more screenshots.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 15:54:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843858#M194554</guid>
      <dc:creator>Laura12</dc:creator>
      <dc:date>2024-02-28T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843882#M194559</link>
      <description>&lt;P&gt;So, I did just get the variable on the catalog task - I hadn't saved/activated my flow.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, like I said earlier, the variable is still visible on the main form.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 16:06:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843882#M194559</guid>
      <dc:creator>Laura12</dc:creator>
      <dc:date>2024-02-28T16:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843884#M194560</link>
      <description>&lt;P&gt;Hi Laura,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share the screenshot of your UI policy along with the Ui policy action&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 16:08:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843884#M194560</guid>
      <dc:creator>Shankar Manohar</dc:creator>
      <dc:date>2024-02-28T16:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843909#M194564</link>
      <description>&lt;P&gt;Screenshots are attached&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 16:21:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843909#M194564</guid>
      <dc:creator>Laura12</dc:creator>
      <dc:date>2024-02-28T16:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843927#M194566</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/91320"&gt;@Laura12&lt;/a&gt;&amp;nbsp;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Instead of applying on catalog task , apply it on catalog item view and requested item . And make field visible false. Its working on my PDI.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RohiniSSane_0-1709138031825.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/334106i32DA05394D9DED54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RohiniSSane_0-1709138031825.png" alt="RohiniSSane_0-1709138031825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please Mark Helpful.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Rohini Sane&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 16:34:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843927#M194566</guid>
      <dc:creator>RohiniS87886285</dc:creator>
      <dc:date>2024-02-28T16:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843978#M194570</link>
      <description>&lt;P&gt;Rohini,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That worked!!&amp;nbsp; One last question, can I make that field mandatory on the task?&amp;nbsp; I made mandatory=true but it's not making it mandatory on the task.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 17:12:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2843978#M194570</guid>
      <dc:creator>Laura12</dc:creator>
      <dc:date>2024-02-28T17:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a variable on the request form but adding it to the catalog task</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2844432#M194589</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/91320"&gt;@Laura12&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can make mandatory on catalog level.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RohiniSSane_0-1709181902062.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/334196i3D4C2E5F9F4F7C2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RohiniSSane_0-1709181902062.png" alt="RohiniSSane_0-1709181902062.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Rohini Sane&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 04:45:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/hiding-a-variable-on-the-request-form-but-adding-it-to-the/m-p/2844432#M194589</guid>
      <dc:creator>RohiniS87886285</dc:creator>
      <dc:date>2024-02-29T04:45:24Z</dc:date>
    </item>
  </channel>
</rss>

