<?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 Hide 'Close Task' Button in SC_Task Table for Users with Specific Role in Service Management forum</title>
    <link>https://www.servicenow.com/community/service-management-forum/hide-close-task-button-in-sc-task-table-for-users-with-specific/m-p/2987444#M36623</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to hide the "Close Task" button in the SC_Task table for users with a specific role, "ui_hide_close_task." I understand that using a client script for this purpose is not best practice.Typically, UI actions use the "requires role" functionality to control visibility. However, in this case, I need to ensure that users with the "ui_hide_close_task" role do not see the "Close Task" button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice or best practices on how to achieve this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 12:49:52 GMT</pubDate>
    <dc:creator>AgimB</dc:creator>
    <dc:date>2024-07-11T12:49:52Z</dc:date>
    <item>
      <title>Hide 'Close Task' Button in SC_Task Table for Users with Specific Role</title>
      <link>https://www.servicenow.com/community/service-management-forum/hide-close-task-button-in-sc-task-table-for-users-with-specific/m-p/2987444#M36623</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to hide the "Close Task" button in the SC_Task table for users with a specific role, "ui_hide_close_task." I understand that using a client script for this purpose is not best practice.Typically, UI actions use the "requires role" functionality to control visibility. However, in this case, I need to ensure that users with the "ui_hide_close_task" role do not see the "Close Task" button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice or best practices on how to achieve this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 12:49:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/hide-close-task-button-in-sc-task-table-for-users-with-specific/m-p/2987444#M36623</guid>
      <dc:creator>AgimB</dc:creator>
      <dc:date>2024-07-11T12:49:52Z</dc:date>
    </item>
  </channel>
</rss>

