<?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 Populate default values in Workspace fields? in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2884750#M35714</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to set a default value (see screenshot) for fields in a Workspace (in my case for "Agent Workspace for HR Case Management"). And if this is possible, is this wise to do, if you take into account future updates of the workspace?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 12:40:14 GMT</pubDate>
    <dc:creator>Kenneth3</dc:creator>
    <dc:date>2024-04-02T12:40:14Z</dc:date>
    <item>
      <title>Populate default values in Workspace fields?</title>
      <link>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2884750#M35714</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to set a default value (see screenshot) for fields in a Workspace (in my case for "Agent Workspace for HR Case Management"). And if this is possible, is this wise to do, if you take into account future updates of the workspace?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 12:40:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2884750#M35714</guid>
      <dc:creator>Kenneth3</dc:creator>
      <dc:date>2024-04-02T12:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Populate default values in Workspace fields?</title>
      <link>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2884767#M35716</link>
      <description>&lt;P&gt;Hi Kenneth,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would advise creating an onload client script, set the view as 'workspace' so it only runs on workspace.&lt;/P&gt;
&lt;P&gt;Then in the script you can add more conditions, if needed , like only run when field is blank, or only run for new record etc and populate the values in the script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 12:50:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2884767#M35716</guid>
      <dc:creator>Anurag Tripathi</dc:creator>
      <dc:date>2024-04-02T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Populate default values in Workspace fields?</title>
      <link>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2886039#M35727</link>
      <description>&lt;P&gt;Hello Anurag,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If have created the Client Script, but it still doesn't work. Can you see what the issue can be?&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="Client Script.png" style="width: 999px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/344745i142171F3C028B722/image-size/large?v=v2&amp;amp;px=999" role="button" title="Client Script.png" alt="Client Script.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 09:36:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2886039#M35727</guid>
      <dc:creator>Kenneth3</dc:creator>
      <dc:date>2024-04-03T09:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Populate default values in Workspace fields?</title>
      <link>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2886049#M35728</link>
      <description>&lt;P&gt;Uncheck the Global checkbox&lt;/P&gt;
&lt;P&gt;In the view only write 'workspace'&lt;/P&gt;
&lt;P&gt;on line 4 in your script , only pass the id as the second parameter, no third parameter, remove name from there.&lt;/P&gt;
&lt;P&gt;Add an alert in the start of the script to test if the script is executing or not.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 09:41:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/populate-default-values-in-workspace-fields/m-p/2886049#M35728</guid>
      <dc:creator>Anurag Tripathi</dc:creator>
      <dc:date>2024-04-03T09:41:21Z</dc:date>
    </item>
  </channel>
</rss>

