<?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: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452628#M1241203</link>
    <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/295077"&gt;@suvarna sonar2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it worked for me now&lt;/P&gt;
&lt;P&gt;Update your UI action as this -&amp;gt; don't send task sysId, no need of this&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var url = new StdChangeUtils().getURLForTask(current, 'rfc');
action.setRedirectURL(url);&lt;/LI-CODE&gt;
&lt;P&gt;client Script as this -&amp;gt; the task sysId is already present in URL, use regex and grab that and set&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function onLoad() {
    //Type appropriate comment here, and begin script below
    var url = top.location.href;
    var regex = /sysparm_processing_hint=table:sc_task;sysid:([a-f0-9]{32})/;
    var match = url.match(regex);
    if (match &amp;amp;&amp;amp; match[1]) {
        var taskSysId = match[1];
		alert(taskSysId);
        // Use sysId as needed
    }

}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get task sysId create change function.gif" style="width: 999px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/491702i7B8CA4A78ED43366/image-size/large?v=v2&amp;amp;px=999" role="button" title="get task sysId create change function.gif" alt="get task sysId create change function.gif" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&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, 18 Dec 2025 14:32:34 GMT</pubDate>
    <dc:creator>Ankur Bawiskar</dc:creator>
    <dc:date>2025-12-18T14:32:34Z</dc:date>
    <item>
      <title>How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqest</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452479#M1241174</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have created a UI Action on the&amp;nbsp;sc_task table and added the below code for&amp;nbsp;Creating a Standard Change:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var url = new StdChangeUtils().getURLForTask(current, 'rfc');
url += '&amp;amp;sc_task_sys_id=' + current.sys_id;
action.setRedirectURL(url);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is redirecting to standard change template for creating new change request but linkage of sctask is not happening on that change request parent field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to implement this functionality so that the originating SCTASK is linked to the Change Request created via the Standard Change template?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 12:35:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452479#M1241174</guid>
      <dc:creator>suvarna sonar2</dc:creator>
      <dc:date>2025-12-18T12:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452492#M1241178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/295077"&gt;@suvarna sonar2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no need to create a UI action. You can add the related list of changes, click &lt;STRONG data-start="140" data-end="147"&gt;New&lt;/STRONG&gt;, and it will take you to the change description. There, you can select the same change as you want to standardize.&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="DrAtulGLNG_0-1766061770257.png" style="width: 885px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/491650iA15C0D26101AB9F0/image-dimensions/885x250?v=v2" width="885" height="250" role="button" title="DrAtulGLNG_0-1766061770257.png" alt="DrAtulGLNG_0-1766061770257.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 12:43:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452492#M1241178</guid>
      <dc:creator>Dr Atul G- LNG</dc:creator>
      <dc:date>2025-12-18T12:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452505#M1241182</link>
      <description>&lt;P&gt;i want to create from standard change template and that templated value should get append to sctask field&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 12:59:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452505#M1241182</guid>
      <dc:creator>suvarna sonar2</dc:creator>
      <dc:date>2025-12-18T12:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452520#M1241185</link>
      <description>&lt;P&gt;So, you want to use the SC change template to populate an SC task—that’s not possible. You can create it as mentioned. SC Task and SC Change are two different records.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 13:08:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452520#M1241185</guid>
      <dc:creator>Dr Atul G- LNG</dc:creator>
      <dc:date>2025-12-18T13:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452524#M1241188</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/295077"&gt;@suvarna sonar2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I shared solution for something similar recently&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;use onLoad client script and try to get &lt;STRONG&gt;sc_task_sys_id&lt;/STRONG&gt; from URL and set it in parent field on CHG&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/virtual-agent-forum/how-to-create-standard-change-from-ritm-and-relate/m-p/3281286/page/1" target="_blank" rel="noopener"&gt;How to Create Standard Change from RITM and relate ?&lt;/A&gt;&amp;nbsp;&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, 18 Dec 2025 13:16:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452524#M1241188</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-12-18T13:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452544#M1241193</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to get URL parameter in client script&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 13:29:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452544#M1241193</guid>
      <dc:creator>suvarna sonar2</dc:creator>
      <dc:date>2025-12-18T13:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452546#M1241194</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/295077"&gt;@suvarna sonar2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;create this onLoad client script and grab the sysId and set in parent field&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: ensure parent field is present on the form view&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function onLoad() {
    var gUrl = new GlideURL();
    gUrl.setFromCurrent();
    var taskSysId = gUrl.getParam("sc_task_sys_id");
    g_form.setValue('parent', taskSysId);

}&lt;/LI-CODE&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, 18 Dec 2025 13:34:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452546#M1241194</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-12-18T13:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452593#M1241198</link>
      <description>&lt;P&gt;This parameter giving undefined value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var url = new StdChangeUtils().getURLForTask(current, 'rfc');
url += '&amp;amp;sc_task_sys_id=' + current.sys_id;
action.setRedirectURL(url);&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Dec 2025 14:06:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452593#M1241198</guid>
      <dc:creator>suvarna sonar2</dc:creator>
      <dc:date>2025-12-18T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452628#M1241203</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/295077"&gt;@suvarna sonar2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it worked for me now&lt;/P&gt;
&lt;P&gt;Update your UI action as this -&amp;gt; don't send task sysId, no need of this&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var url = new StdChangeUtils().getURLForTask(current, 'rfc');
action.setRedirectURL(url);&lt;/LI-CODE&gt;
&lt;P&gt;client Script as this -&amp;gt; the task sysId is already present in URL, use regex and grab that and set&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function onLoad() {
    //Type appropriate comment here, and begin script below
    var url = top.location.href;
    var regex = /sysparm_processing_hint=table:sc_task;sysid:([a-f0-9]{32})/;
    var match = url.match(regex);
    if (match &amp;amp;&amp;amp; match[1]) {
        var taskSysId = match[1];
		alert(taskSysId);
        // Use sysId as needed
    }

}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get task sysId create change function.gif" style="width: 999px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/491702i7B8CA4A78ED43366/image-size/large?v=v2&amp;amp;px=999" role="button" title="get task sysId create change function.gif" alt="get task sysId create change function.gif" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&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, 18 Dec 2025 14:32:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3452628#M1241203</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-12-18T14:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3453028#M1241271</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/295077"&gt;@suvarna sonar2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing good.&lt;/P&gt;
&lt;P&gt;Did my reply answer your question?&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>Fri, 19 Dec 2025 03:09:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3453028#M1241271</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-12-19T03:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3453068#M1241286</link>
      <description>&lt;DIV&gt;Thank you &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/265966"&gt;@Ankur Bawiskar&lt;/a&gt;&amp;nbsp;, for your support. The UI Action and client script are both working as expected.&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Dec 2025 04:54:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3453068#M1241286</guid>
      <dc:creator>suvarna sonar2</dc:creator>
      <dc:date>2025-12-19T04:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Standard Change from SCTASK and that SCTASK number should be link to change Reuqes</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3454194#M1241459</link>
      <description>&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;It is not working for all users, and even some administrators are experiencing the same issue. Could there be a reason for this?&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Dec 2025 04:03:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-create-standard-change-from-sctask-and-that-sctask-number/m-p/3454194#M1241459</guid>
      <dc:creator>suvarna sonar2</dc:creator>
      <dc:date>2025-12-22T04:03:27Z</dc:date>
    </item>
  </channel>
</rss>

