<?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 HR Lifecycle Event Case in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3171246#M40079</link>
    <description>&lt;P&gt;Hi, I'm making a lifecycle event case for onboarding new hire.&lt;/P&gt;&lt;P&gt;I opened a&amp;nbsp;lifecycle event case and tried cancelling by clicking the cancel button.&lt;/P&gt;&lt;P&gt;A form to enter a reason for cancellation opens and when I submit, nothing happens.&lt;/P&gt;&lt;P&gt;I thought that the tasks in the case and the case itself will be changed to "Cancelled" state, but it stays the same, the screen stays the same.&lt;/P&gt;&lt;P&gt;I want to know the reason and how I can get the cancel to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2025 05:59:47 GMT</pubDate>
    <dc:creator>YounseoC</dc:creator>
    <dc:date>2025-02-07T05:59:47Z</dc:date>
    <item>
      <title>Cancel HR Lifecycle Event Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3171246#M40079</link>
      <description>&lt;P&gt;Hi, I'm making a lifecycle event case for onboarding new hire.&lt;/P&gt;&lt;P&gt;I opened a&amp;nbsp;lifecycle event case and tried cancelling by clicking the cancel button.&lt;/P&gt;&lt;P&gt;A form to enter a reason for cancellation opens and when I submit, nothing happens.&lt;/P&gt;&lt;P&gt;I thought that the tasks in the case and the case itself will be changed to "Cancelled" state, but it stays the same, the screen stays the same.&lt;/P&gt;&lt;P&gt;I want to know the reason and how I can get the cancel to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 05:59:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3171246#M40079</guid>
      <dc:creator>YounseoC</dc:creator>
      <dc:date>2025-02-07T05:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel HR Lifecycle Event Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3171411#M40085</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/740773"&gt;@YounseoC&lt;/a&gt;&amp;nbsp;, Enable Rescind on the lifecycle event process.&amp;nbsp;&lt;SPAN&gt;The "Rescind process" is used to cancel or revert an HR Case or HR Task.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/docs/bundle/yokohama-employee-service-management/page/product/human-resources/task/configure-rescind-for-a-lifecycle-event.html" target="_blank"&gt;Configure the rescind process for a lifecycle event&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB1307612" target="_blank"&gt;Lifecycle Event Best Practices and Performance Expectations - Support and Troubleshooting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 09:30:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3171411#M40085</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2025-02-07T09:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel HR Lifecycle Event Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3172783#M40099</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;As&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/617307"&gt;@Priye&lt;/a&gt;&amp;nbsp;mentioned, you can setup the rescind, but this is just to revert the progress you have made in that case, but you should be able to cancel it without it as well.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I just tried to cancel a Lifecycle case on my PDI and it works as expected. The case is cancelled and tasks are cancelled as well (if they have not been completed yet).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;See the UI action below. Are you using this OOB action?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wessel_0-1739176134360.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/418178i03788EE2BEAB9C31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wessel_0-1739176134360.png" alt="Wessel_0-1739176134360.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 08:29:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3172783#M40099</guid>
      <dc:creator>Wessel van Enk</dc:creator>
      <dc:date>2025-02-10T08:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel HR Lifecycle Event Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3172886#M40100</link>
      <description>&lt;P&gt;I figured out how to cancel. But when I cancel lifecycle event case, the tasks related won't change to "Cancelled". Can you help me with the reason why?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 09:55:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3172886#M40100</guid>
      <dc:creator>YounseoC</dc:creator>
      <dc:date>2025-02-10T09:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel HR Lifecycle Event Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3174029#M40112</link>
      <description>&lt;P&gt;Both happened when I used the OOB UI Action. See my example attached.&lt;BR /&gt;This was a case on the &lt;SPAN&gt;sn_hr_le_case&amp;nbsp;&lt;/SPAN&gt;table, but the UI action itself is created on the parent table (sn_hr_core_case).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Did you modify the OOB UI Action?&lt;BR /&gt;If so, maybe try reverting it.&amp;nbsp;&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="Wessel_0-1739265722258.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/418454i34C40CB06280B171/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wessel_0-1739265722258.png" alt="Wessel_0-1739265722258.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Script:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; cancelCase() {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; sysId = &lt;/SPAN&gt;&lt;SPAN&gt;typeof&lt;/SPAN&gt;&lt;SPAN&gt; rowSysId == &lt;/SPAN&gt;&lt;SPAN&gt;'undefined'&lt;/SPAN&gt;&lt;SPAN&gt; || rowSysId == &lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt; ?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_form.getUniqueValue() : rowSysId;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; dialogClass = &lt;/SPAN&gt;&lt;SPAN&gt;GlideModal&lt;/SPAN&gt;&lt;SPAN&gt; ? &lt;/SPAN&gt;&lt;SPAN&gt;GlideModal&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;GlideDialogWindow&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; dialog = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; dialogClass(&lt;/SPAN&gt;&lt;SPAN&gt;'sn_hr_core_HR Comment Dialog'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; msg = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;GwtMessage&lt;/SPAN&gt;&lt;SPAN&gt;().getMessage(&lt;/SPAN&gt;&lt;SPAN&gt;'Enter the reason for canceling the case'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.setTitle(msg);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.setPreference(&lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_task_sys_id'&lt;/SPAN&gt;&lt;SPAN&gt;, sysId);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.setPreference(&lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_task_table'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'sn_hr_core_case'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.setPreference(&lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_ok_method_name'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'cancelCase'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.setPreference(&lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_is_required'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.setPreference(&lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_is_comment'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'false'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.on(&lt;/SPAN&gt;&lt;SPAN&gt;'hrComentDialogSucess'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;() {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.destroy();&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gsftSubmit(&lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;, g_form.getFormElement(), &lt;/SPAN&gt;&lt;SPAN&gt;'sysverb_update_and_stay'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialog.render();&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 09:22:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3174029#M40112</guid>
      <dc:creator>Wessel van Enk</dc:creator>
      <dc:date>2025-02-11T09:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel HR Lifecycle Event Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3191439#M40373</link>
      <description>&lt;P&gt;I haven't modified cancel ui action.&lt;/P&gt;&lt;P&gt;It didn't work for days and suddenly I tried 2days ago, it worked.&lt;/P&gt;&lt;P&gt;But today, I cancelled a case and the child tasks weren't cancelled.&lt;/P&gt;&lt;P&gt;Nothing related to the cancelling have been changed, so I'm confused why it worked and don't work now haha&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 03:38:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3191439#M40373</guid>
      <dc:creator>YounseoC</dc:creator>
      <dc:date>2025-02-28T03:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel HR Lifecycle Event Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3194883#M40436</link>
      <description>&lt;P&gt;That is indeed confusing haha. It then might have something to do with the flows behind.&lt;BR /&gt;There are some triggers setup to check the activity status every 4 hours (default).&lt;BR /&gt;Maybe check the connected flows to see if there are any timers that may cause this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 08:54:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3194883#M40436</guid>
      <dc:creator>Wessel van Enk</dc:creator>
      <dc:date>2025-03-04T08:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel HR Lifecycle Event Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3195965#M40450</link>
      <description>&lt;P&gt;I ended up solving this by making a business rule. I posted this question because I wanted to what happens when a case is cancelled. Whether child task cancelling is automatic or not.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 23:01:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/cancel-hr-lifecycle-event-case/m-p/3195965#M40450</guid>
      <dc:creator>YounseoC</dc:creator>
      <dc:date>2025-03-04T23:01:27Z</dc:date>
    </item>
  </channel>
</rss>

