<?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: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip in SPM forum</title>
    <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411970#M49129</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/360102"&gt;@Trupti Krishnam&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;You can achieve by performing below steps :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1. Firstly you need too tell global Action config not to have "New" button for your table, in our case is pm_project_task. This will make sure when you add your own custom declarative action system will make sure no duplicate Button is present. This You can achieve by navigating to following global action assignment - "&amp;lt;YourInstance&amp;gt;/sys_declarative_action_assignment.do?sys_id=5555b77273131010a0a79329faf6a780&amp;amp;sysparm_view=advanced". Then scroll down to Action exclusion and your table i.e. pm_project_task as shown in screenshot -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_0-1761289591504.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478601i4A3C62676A4D3CC0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_0-1761289591504.png" alt="arijeetdev_0-1761289591504.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_2-1761289683478.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478603i9FF62B0A9EA12187/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_2-1761289683478.png" alt="arijeetdev_2-1761289683478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. After performing above steps you will see that "New" Button is no more seen on the related list of pm_project_task in the details tab. Now that is hidden, you will have to write your custom declarative assignment for the new record of pm_project_task by binding it properly to the action config specific to Project workspace. Follow below steps to achieve it -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2a. Change the scope from global to Project Workspace.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;2b. Navigate to action config record for PWS. Use this URL - (&amp;lt;YourInstance&amp;gt;/sys_ux_action_config.do?sys_id=cbb8c1b1a3e231109b37765346fcdaac&amp;amp;sysparm_record_target=sys_ux_action_config&amp;amp;sysparm_record_row=1&amp;amp;sysparm_record_rows=1&amp;amp;sysparm_record_list=sys_idSTARTSWITHcbb8c1b1a3e231109b37765346fcdaac%5EORDERBYname)&lt;BR /&gt;&lt;BR /&gt;2c. Scroll to "All declarative action assignment" and click on new.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_3-1761290048240.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478604iC721CEB6F8E45F26/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_3-1761290048240.png" alt="arijeetdev_3-1761290048240.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2d. Now create a new&amp;nbsp;sys_declarative_action_assignment record for pm_project_task with attributes as screenshot (NB: Specify Client Action to be mapped correctly to PWS sys_declarative_action_payload_definition record. In our case it is "CREATE_NEW_RECORD" - URL (sys_declarative_action_payload_definition.do?sys_id=08913e7273131010a0a79329faf6a78b&amp;amp;sysparm_view=advanced) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2e. Go to advance view of this new declarative action assignment and apply your desired Record Condition for example : Parent.State is Work in progress OR Parent.State is Open&lt;/P&gt;
&lt;DIV class="row"&gt;
&lt;DIV class="vsplit col-sm-6"&gt;
&lt;DIV id="element.sys_declarative_action_assignment.order" class="form-group "&gt;
&lt;DIV class="col-xs-2 col-sm-3 col-lg-2 form-field-addons"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="col-xs-2 col-sm-3 col-lg-2 form-field-addons"&gt;2f. Your new declarative action assignment should look this screenshot -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_4-1761290777660.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478606i4C2695FC30C97AA6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_4-1761290777660.png" alt="arijeetdev_4-1761290777660.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Now that you have configured everything properly, you should be able to achieve this use case. Navigate to PWS again check the related list of project task, if it is working as expected like this -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_5-1761290949610.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478608i8B295C6D338A7501/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_5-1761290949610.png" alt="arijeetdev_5-1761290949610.png" /&gt;&lt;/span&gt;&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="arijeetdev_6-1761291022560.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478609i3211EF8DF4D3390D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_6-1761291022560.png" alt="arijeetdev_6-1761291022560.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If you found my response helpful, please mark it as &lt;STRONG data-start="1762" data-end="1786"&gt;‘Accept as Solution’&lt;/STRONG&gt; and &lt;STRONG data-start="1791" data-end="1804"&gt;‘Helpful’&lt;/STRONG&gt;. This helps other community members find the right answer more easily and supports the community.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Arijeet&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Oct 2025 07:36:54 GMT</pubDate>
    <dc:creator>arijeetdev</dc:creator>
    <dc:date>2025-10-24T07:36:54Z</dc:date>
    <item>
      <title>Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skipped</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3410983#M49098</link>
      <description>&lt;P&gt;I need to configure the new and Delete Button that are present in the Related list of the project workspace . I want these buttons to be shown only when the state of the project is open/work In progress I have checked all the declarative actions . and also create one ,But I was not able to achieve it . can any one help me to Achieve this.&lt;/P&gt;&lt;P&gt;Below is the screenshot of the buttons that I need to hidden . From the project workspace when project state is&amp;nbsp;&lt;/P&gt;&lt;P&gt;closed complete/closed Incomplete&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TruptiKrishnam_0-1761204511838.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478387iA514A6E819611E21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TruptiKrishnam_0-1761204511838.png" alt="TruptiKrishnam_0-1761204511838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 07:28:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3410983#M49098</guid>
      <dc:creator>Trupti Krishnam</dc:creator>
      <dc:date>2025-10-23T07:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3410992#M49099</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/360102"&gt;@Trupti Krishnam&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you try this?&lt;/P&gt;
&lt;P&gt;-&amp;gt; update Table.None DELETE ACL on project task table and check the State of Project&lt;/P&gt;
&lt;P&gt;-&amp;gt; Update Table.None CREATE ACL on project task table and check the State of Project&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; and close the thread &lt;span class="lia-unicode-emoji" title=":locked:"&gt;🔒&lt;/span&gt;— this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 07:35:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3410992#M49099</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-10-23T07:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411055#M49102</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/265966"&gt;@Ankur Bawiskar&lt;/a&gt;&amp;nbsp; i tried this and it is not working .., i need to make these changes on the Project Workspace&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 08:40:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411055#M49102</guid>
      <dc:creator>Trupti Krishnam</dc:creator>
      <dc:date>2025-10-23T08:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411066#M49103</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/360102"&gt;@Trupti Krishnam&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try finding the List Action or Related List action&lt;/P&gt;
&lt;P&gt;I was not able to find that&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; and close the thread &lt;span class="lia-unicode-emoji" title=":locked:"&gt;🔒&lt;/span&gt;— this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 08:45:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411066#M49103</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-10-23T08:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411104#M49108</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/265966"&gt;@Ankur Bawiskar&lt;/a&gt;&amp;nbsp; i have created a new Declarative Action &amp;gt; Related List Action &amp;gt; But this New Button should be hidden when the Project state is 'Closed complete'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 09:14:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411104#M49108</guid>
      <dc:creator>Trupti Krishnam</dc:creator>
      <dc:date>2025-10-23T09:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411113#M49109</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/360102"&gt;@Trupti Krishnam&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you overridden the OOTB New button for your table&lt;/P&gt;
&lt;P&gt;There are you not able to add condition for Parent field?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; and close the thread &lt;span class="lia-unicode-emoji" title=":locked:"&gt;🔒&lt;/span&gt;— this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 09:18:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411113#M49109</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-10-23T09:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411970#M49129</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/360102"&gt;@Trupti Krishnam&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;You can achieve by performing below steps :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1. Firstly you need too tell global Action config not to have "New" button for your table, in our case is pm_project_task. This will make sure when you add your own custom declarative action system will make sure no duplicate Button is present. This You can achieve by navigating to following global action assignment - "&amp;lt;YourInstance&amp;gt;/sys_declarative_action_assignment.do?sys_id=5555b77273131010a0a79329faf6a780&amp;amp;sysparm_view=advanced". Then scroll down to Action exclusion and your table i.e. pm_project_task as shown in screenshot -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_0-1761289591504.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478601i4A3C62676A4D3CC0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_0-1761289591504.png" alt="arijeetdev_0-1761289591504.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_2-1761289683478.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478603i9FF62B0A9EA12187/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_2-1761289683478.png" alt="arijeetdev_2-1761289683478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. After performing above steps you will see that "New" Button is no more seen on the related list of pm_project_task in the details tab. Now that is hidden, you will have to write your custom declarative assignment for the new record of pm_project_task by binding it properly to the action config specific to Project workspace. Follow below steps to achieve it -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2a. Change the scope from global to Project Workspace.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;2b. Navigate to action config record for PWS. Use this URL - (&amp;lt;YourInstance&amp;gt;/sys_ux_action_config.do?sys_id=cbb8c1b1a3e231109b37765346fcdaac&amp;amp;sysparm_record_target=sys_ux_action_config&amp;amp;sysparm_record_row=1&amp;amp;sysparm_record_rows=1&amp;amp;sysparm_record_list=sys_idSTARTSWITHcbb8c1b1a3e231109b37765346fcdaac%5EORDERBYname)&lt;BR /&gt;&lt;BR /&gt;2c. Scroll to "All declarative action assignment" and click on new.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_3-1761290048240.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478604iC721CEB6F8E45F26/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_3-1761290048240.png" alt="arijeetdev_3-1761290048240.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2d. Now create a new&amp;nbsp;sys_declarative_action_assignment record for pm_project_task with attributes as screenshot (NB: Specify Client Action to be mapped correctly to PWS sys_declarative_action_payload_definition record. In our case it is "CREATE_NEW_RECORD" - URL (sys_declarative_action_payload_definition.do?sys_id=08913e7273131010a0a79329faf6a78b&amp;amp;sysparm_view=advanced) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2e. Go to advance view of this new declarative action assignment and apply your desired Record Condition for example : Parent.State is Work in progress OR Parent.State is Open&lt;/P&gt;
&lt;DIV class="row"&gt;
&lt;DIV class="vsplit col-sm-6"&gt;
&lt;DIV id="element.sys_declarative_action_assignment.order" class="form-group "&gt;
&lt;DIV class="col-xs-2 col-sm-3 col-lg-2 form-field-addons"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="col-xs-2 col-sm-3 col-lg-2 form-field-addons"&gt;2f. Your new declarative action assignment should look this screenshot -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_4-1761290777660.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478606i4C2695FC30C97AA6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_4-1761290777660.png" alt="arijeetdev_4-1761290777660.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Now that you have configured everything properly, you should be able to achieve this use case. Navigate to PWS again check the related list of project task, if it is working as expected like this -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arijeetdev_5-1761290949610.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478608i8B295C6D338A7501/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_5-1761290949610.png" alt="arijeetdev_5-1761290949610.png" /&gt;&lt;/span&gt;&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="arijeetdev_6-1761291022560.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/478609i3211EF8DF4D3390D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="arijeetdev_6-1761291022560.png" alt="arijeetdev_6-1761291022560.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If you found my response helpful, please mark it as &lt;STRONG data-start="1762" data-end="1786"&gt;‘Accept as Solution’&lt;/STRONG&gt; and &lt;STRONG data-start="1791" data-end="1804"&gt;‘Helpful’&lt;/STRONG&gt;. This helps other community members find the right answer more easily and supports the community.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Arijeet&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 07:36:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3411970#M49129</guid>
      <dc:creator>arijeetdev</dc:creator>
      <dc:date>2025-10-24T07:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3412171#M49130</link>
      <description>&lt;P&gt;In Project Workspace, the “New” and “Delete” buttons that appear on related lists (like Tasks, Risks, Issues, etc.) are controlled by Declarative Actions and UI Builder settings, not by classic UI Actions. You can hide these buttons based on Project State using the following methods:&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;BR /&gt;Option 1 – Declarative Action Visibility Conditions (Recommended)&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;1. Go to **Now Experience Framework → Declarative Actions → Action Sets**.&lt;BR /&gt;2. Find the Action Set linked to the related list (e.g., Project Tasks).&lt;BR /&gt;3. Open the **New** and **Delete** actions.&lt;BR /&gt;4. In the **Visibility Conditions** section, add:&lt;BR /&gt;```&lt;BR /&gt;${record.state} != 'closed_complete' &amp;amp;&amp;amp; ${record.state} != 'closed_incomplete'&lt;BR /&gt;```&lt;BR /&gt;Or use numeric values if applicable:&lt;BR /&gt;```&lt;BR /&gt;${record.state} != 4 &amp;amp;&amp;amp; ${record.state} != 5&lt;BR /&gt;```&lt;BR /&gt;5. Save and publish the Action Set.&lt;BR /&gt;6. Refresh the Project Workspace — the buttons will now hide when the project is closed.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;BR /&gt;Option 2 – Conditional Rendering in UI Builder&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;1. Open **Project Workspace** in **UI Builder**.&lt;BR /&gt;2. Select the **Related List** component.&lt;BR /&gt;3. Locate the visibility condition setting.&lt;BR /&gt;4. Add:&lt;BR /&gt;```javascript&lt;BR /&gt;${data.record.state != 'closed_complete' &amp;amp;&amp;amp; data.record.state != 'closed_incomplete'}&lt;BR /&gt;```&lt;BR /&gt;5. Save and test the workspace — actions will display only for open projects.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;BR /&gt;Option 3 – Client Script (Fallback)&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;If UI Builder or Declarative Actions are unavailable, add a UI Script:&lt;BR /&gt;```javascript&lt;BR /&gt;function onLoad() {&lt;BR /&gt;var state = g_form.getValue('state');&lt;BR /&gt;if (state == 'closed_complete' || state == 'closed_incomplete') {&lt;BR /&gt;hideRelatedListButtons();&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;function hideRelatedListButtons() {&lt;BR /&gt;var buttons = document.querySelectorAll('[aria-label="New"], [aria-label="Delete"]');&lt;BR /&gt;buttons.forEach(btn =&amp;gt; btn.style.display = 'none');&lt;BR /&gt;}&lt;BR /&gt;```&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":warning:"&gt;⚠️&lt;/span&gt; Use only as a last resort — DOM manipulation is not upgrade-safe.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;BR /&gt;Best Practice Summary&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;| Method | Configuration Area | Recommended |&lt;BR /&gt;|--------|---------------------|--------------|&lt;BR /&gt;| Declarative Actions | Action Set | &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Best Option |&lt;BR /&gt;| UI Builder | Component Visibility | &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Good Alternative |&lt;BR /&gt;| Client Script | Classic Form | &lt;span class="lia-unicode-emoji" title=":warning:"&gt;⚠️&lt;/span&gt; Fallback |&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Summary&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;- Use Declarative Actions or UI Builder to control visibility dynamically.&lt;BR /&gt;- Avoid script-based DOM manipulation.&lt;BR /&gt;- Document visibility logic for maintainability.&lt;/P&gt;&lt;P&gt;Result: “New” and “Delete” buttons appear only for projects in **Open** or **Work In Progress** states, and stay hidden for **Closed Complete** or **Closed Incomplete** projects.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 09:47:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3412171#M49130</guid>
      <dc:creator>MaxMixali</dc:creator>
      <dc:date>2025-10-24T09:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3420155#M49271</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/525693"&gt;@MaxMixali&lt;/a&gt;&amp;nbsp; thank you so much for&amp;nbsp; the solution!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 13:43:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3420155#M49271</guid>
      <dc:creator>Trupti Krishnam</dc:creator>
      <dc:date>2025-11-05T13:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3420158#M49272</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/514471"&gt;@arijeetdev&lt;/a&gt;&amp;nbsp;Thank you so much!! for the solution&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 13:44:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3420158#M49272</guid>
      <dc:creator>Trupti Krishnam</dc:creator>
      <dc:date>2025-11-05T13:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 'New Button' in Project Workspace: - when project state - Closed completed/closed skip</title>
      <link>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3420159#M49273</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/360102"&gt;@Trupti Krishnam&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think answer you marked correct is really a valid answer.&lt;/P&gt;
&lt;P&gt;Actual answer is shared by&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/514471"&gt;@arijeetdev&lt;/a&gt;&amp;nbsp;with results.&lt;/P&gt;
&lt;P&gt;Please mark appropriate response as correct so that it helps future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 13:44:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/configure-new-button-in-project-workspace-when-project-state/m-p/3420159#M49273</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-11-05T13:44:50Z</dc:date>
    </item>
  </channel>
</rss>

