<?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 Cancel Change request in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549876#M121655</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need your support on the below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Cancel Change Request (State-New) as no implementation is required&lt;/P&gt;
&lt;P&gt;- Create New Change Task (State-New\Assess\Implement)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Aug 2018 08:01:04 GMT</pubDate>
    <dc:creator>Praveen55</dc:creator>
    <dc:date>2018-08-29T08:01:04Z</dc:date>
    <item>
      <title>Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549876#M121655</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need your support on the below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Cancel Change Request (State-New) as no implementation is required&lt;/P&gt;
&lt;P&gt;- Create New Change Task (State-New\Assess\Implement)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 08:01:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549876#M121655</guid>
      <dc:creator>Praveen55</dc:creator>
      <dc:date>2018-08-29T08:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549877#M121656</link>
      <description>&lt;P&gt;Hi Praveen,&lt;/P&gt;
&lt;P&gt;You can cancel a change by right clicking in the header to show the context menu. Then just select "Cancel Change".&lt;/P&gt;
&lt;P&gt;See the screenshot below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/31890i5B99A8863EB36C3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can generate change tasks using the workflow associated with the change. A good example of this is the "Normal" change workflow which uses a subflow to generate change tasks at the implementation phase. Please see screenshots below:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Change Request - Normal change tasks&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/31889i8EE55CC013220E22/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Change Request - Normal&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/31902i6989F1307554C8D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Use these as an example of how you might configure your workflow.&lt;/P&gt;
&lt;P&gt;Let me know if this worked for you.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Brent&lt;/P&gt;
&lt;P&gt;P.S. Please mark as correct if this information helped you.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 00:05:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549877#M121656</guid>
      <dc:creator>Brent Sutton</dc:creator>
      <dc:date>2018-08-30T00:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549878#M121657</link>
      <description>&lt;P&gt;&lt;STRONG&gt;- Cancel a Change request&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I have tried using the Cancel Change option, however, it pops up for reason. After providing the reason, all the mandatory fields are highlighted to complete.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly advise on how to by-pass all these to cancel the Change&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;- Create New Change Task&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Have launched the workflows with the Change. Can you please advise with the option to create a new change task from the workflow or other way ?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 04:19:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549878#M121657</guid>
      <dc:creator>Praveen55</dc:creator>
      <dc:date>2018-08-30T04:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549879#M121658</link>
      <description>&lt;P&gt;Cancel Change&lt;/P&gt;
&lt;P&gt;use g_form.checkMandatory&amp;nbsp;=&amp;nbsp;false in your Cancel Change UI action, so that it doesn't check for mandatory fields.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create New Change Task&lt;/P&gt;
&lt;P&gt;Use Create task activity in the workflow to create a new task in a change.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 04:36:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549879#M121658</guid>
      <dc:creator>SanjivMeher</dc:creator>
      <dc:date>2018-08-30T04:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549880#M121659</link>
      <description>&lt;P&gt;Hi Praveen,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;- Cancel a Change request&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You would have to take a copy of the "Cancel change" UI Action and modify it to ignore mandatory values. I personally wouldn't do that as I want a reason to be captured for why a change request is being cancelled and I want my data set to be consistent with all mandatory values completed (even for cancelled changes).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;- Create New Change Task&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I'm a little confused about the second part of your question about "Create New Change Task"? I assume from your attachments that you've created a subflow that will be triggered by your main workflow?&lt;/P&gt;
&lt;P&gt;If you have used the "Create Task" activity and configured it to for change tasks then the change tasks will be created when the subflow is triggered. Should look something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/31894i2856C2363F7580DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You obviously need to have included the subflow in your main workflow for this to work. Please take a look at&amp;nbsp;&lt;A href="https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/workflow-activities/reference/workflows-as-subflows.html" target="_blank" rel="nofollow"&gt;Workflows used as subflows&lt;/A&gt;&amp;nbsp;if you need more information. Should look something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/31893i674F6BA90DCB0332/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully this makes sense. I think I answered your original question in my first reply. Please mark as correct if this information helped you.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Brent&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 05:19:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549880#M121659</guid>
      <dc:creator>Brent Sutton</dc:creator>
      <dc:date>2018-08-30T05:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549881#M121660</link>
      <description>&lt;P&gt;Cancel Change:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I have modified the UI action: &lt;STRONG&gt;Cancel change&lt;/STRONG&gt; by adding&amp;nbsp;&lt;STRONG&gt;g_form.checkMandatory&amp;nbsp;=&amp;nbsp;false&amp;nbsp;&lt;/STRONG&gt; but no luck. Attached the modified for your reference. Kindly advise&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create New Change Task:&lt;/P&gt;
&lt;P&gt;I could use NEW under Change Task tab to create a new task when the change is in New state. However, would require to create new Change task when the Change is approved and in Assess\Implement State. Can you pls provide any screenshot to do that from Workflow&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 05:35:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549881#M121660</guid>
      <dc:creator>Praveen55</dc:creator>
      <dc:date>2018-08-30T05:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549882#M121661</link>
      <description>&lt;P&gt;Can you try with below code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;var changeConfirmCancelDialog;

function loadConfirmDialog() {
        g_form.checkMandatory = false;
	var dialogClass = window.GlideModal ? GlideModal : GlideDialogWindow;
	changeConfirmCancelDialog = new dialogClass("change_confirm_cancel", false, 648, 250);
	changeConfirmCancelDialog.setTitle(new GwtMessage().getMessage("Cancel Change Request"));
	changeConfirmCancelDialog.render();
}

function moveToCancel(notes) {
	var ga = new GlideAjax("ChangeRequestStateHandlerAjax");
	ga.addParam("sysparm_name", "getStateValue");
	ga.addParam("sysparm_state_name", "canceled");
	ga.getXMLAnswer(function(stateValue) {
		g_form.setValue("state", stateValue);
		g_form.setValue("work_notes", notes);
		g_form.checkMandatory = false;
		var changeConfirmCancelDialog;

function loadConfirmDialog() {
	var dialogClass = window.GlideModal ? GlideModal : GlideDialogWindow;
	changeConfirmCancelDialog = new dialogClass("change_confirm_cancel", false, 648, 250);
	changeConfirmCancelDialog.setTitle(new GwtMessage().getMessage("Cancel Change Request"));
	changeConfirmCancelDialog.render();
}

function moveToCancel(notes) {
	var ga = new GlideAjax("ChangeRequestStateHandlerAjax");
	ga.addParam("sysparm_name", "getStateValue");
	ga.addParam("sysparm_state_name", "canceled");
	ga.getXMLAnswer(function(stateValue) {
		g_form.setValue("state", stateValue);
		g_form.setValue("work_notes", notes);
		g_form.checkMandatory = false;
		changeConfirmCancelDialog.destroy();
		gsftSubmit(null, g_form.getFormElement(), "state_model_move_to_canceled");
	});
}

if (typeof window == 'undefined')
   setRedirect();

function setRedirect() {
    current.update();
    action.setRedirectURL(current);
}
		changeConfirmCancelDialog.destroy();
		gsftSubmit(null, g_form.getFormElement(), "state_model_move_to_canceled");
	});
}

if (typeof window == 'undefined')
   setRedirect();

function setRedirect() {
    current.update();
    action.setRedirectURL(current);
}&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Aug 2018 05:59:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549882#M121661</guid>
      <dc:creator>SanjivMeher</dc:creator>
      <dc:date>2018-08-30T05:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549883#M121662</link>
      <description>&lt;P&gt;I have Updated the UI action: Cancel Change with the provided code, however, no luck&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to use, it asks for Reason and though I enter valid reason, stays at that screen only and at the backend, the mandatory fields are highlighted&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 06:42:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549883#M121662</guid>
      <dc:creator>Praveen55</dc:creator>
      <dc:date>2018-08-30T06:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549884#M121663</link>
      <description>&lt;P&gt;See if below thread is helpful&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/community?id=community_question&amp;amp;sys_id=a50e4baddb9cdbc01dcaf3231f96199f" rel="nofollow"&gt;https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=a50e4baddb9cdbc01dcaf3231f96199f&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 06:47:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549884#M121663</guid>
      <dc:creator>SanjivMeher</dc:creator>
      <dc:date>2018-08-30T06:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549885#M121664</link>
      <description>&lt;P&gt;The provided thread did not work as clicking on the new UI action (cancel_change (client side)) did not perform any action&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I do not want to modify any of the existing default scripts impacting the organisation. Kindly advise&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 07:52:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549885#M121664</guid>
      <dc:creator>Praveen55</dc:creator>
      <dc:date>2018-09-03T07:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549886#M121665</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;What should I do if the Cancel change option is not available?&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/31898iE739FE278820799F/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 22:12:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/549886#M121665</guid>
      <dc:creator>Edison Villela</dc:creator>
      <dc:date>2022-07-26T22:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Change request</title>
      <link>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/2473515#M486144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/437514"&gt;@Edison Villela&lt;/a&gt;&amp;nbsp;, the cancel change option is not available has the change has moved into a "scheduled" state. You could put the change on-hold and then then reschedule which generally takes you back to the "new" state. The cancel change option should now be available for you to select.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:32:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/cancel-change-request/m-p/2473515#M486144</guid>
      <dc:creator>Brent Sutton</dc:creator>
      <dc:date>2023-02-09T19:32:00Z</dc:date>
    </item>
  </channel>
</rss>

