<?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: Lifecycle Event Case - Playbook - Activity Set launched while previous Activity Set is not Compl in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3341418#M42639</link>
    <description>&lt;P&gt;Hello community&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solved the issue by adding a new activity under "Pre-Hire" activity set.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_0-1754050592647.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460251i4BC03DAC3FA1DB44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_0-1754050592647.png" alt="psypniew_0-1754050592647.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the new version of the Activity Set Context on the Lifecycle Event Case:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_1-1754050706919.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460252i4F872228A4B41C19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_1-1754050706919.png" alt="psypniew_1-1754050706919.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;The existing active activity was using a custom Fulfiller activity which caused the workflow to not run correctly.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Aug 2025 12:20:53 GMT</pubDate>
    <dc:creator>psypniew</dc:creator>
    <dc:date>2025-08-01T12:20:53Z</dc:date>
    <item>
      <title>Lifecycle Event Case - Playbook - Activity Set launched while previous Activity Set is not Complete</title>
      <link>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3340560#M42613</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I need to understand why an&amp;nbsp;Activity Set (Pre-Boarding) is launched while previous Activity Set (Pre-hire) is not Complete in a Lifecycle Event Case.&lt;/P&gt;&lt;P&gt;Here is the Activity Set configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_0-1753972719749.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460056i0E1C5780F5F5EA98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_0-1753972719749.png" alt="psypniew_0-1753972719749.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the Lifecycle Event:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_1-1753972791893.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460057iDD9AA817CAE49760/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_1-1753972791893.png" alt="psypniew_1-1753972791893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the Playbook:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_2-1753972907189.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460058i7B0B5A57753D3B51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_2-1753972907189.png" alt="psypniew_2-1753972907189.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Lifecycle Event Case is created from a UI Action with a Script. Here is the Script:&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;// Change the state to Closed Complete (105)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;current.state = 105;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;// Create a new sn_hr_le_case record&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;var leCaseGR = new GlideRecord('sn_hr_le_case');&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;leCaseGR.initialize();&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;leCaseGR.state = 10;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;leCaseGR.subject_person = current.subject_person;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;leCaseGR.opened_for = current.subject_person;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;// Assign the specific HR Service&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;leCaseGR.hr_service = '2b72fe801b4c6e5063b2a8e8b04bcb8b';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;leCaseGR.insert();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;// Update the current case&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;current.update();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;// Notify the user&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;gs.addInfoMessage('Case clôturé avec succès, un nouveau Lifecycle Event Case Onboarding a été créé et est disponible dans le HR Agent Workspace');&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;// Redirect to the current record&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;action.setRedirectURL(current);&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 14:56:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3340560#M42613</guid>
      <dc:creator>psypniew</dc:creator>
      <dc:date>2025-07-31T14:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Lifecycle Event Case - Playbook - Activity Set launched while previous Activity Set is not Compl</title>
      <link>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3341151#M42628</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/744707"&gt;@psypniew&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Is there any active activity under "Pre-Hire" activity set ?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 09:02:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3341151#M42628</guid>
      <dc:creator>abirakundu23</dc:creator>
      <dc:date>2025-08-01T09:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Lifecycle Event Case - Playbook - Activity Set launched while previous Activity Set is not Compl</title>
      <link>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3341243#M42634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/232200"&gt;@abirakundu23&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, I have an active Activity under Pre-Hire Activity Set, of type HR Case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the Activity:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_0-1754042137758.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460213i39195E7A943D761D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_0-1754042137758.png" alt="psypniew_0-1754042137758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And here are the Lifecycle Event Tasks on the Lifecycle Event Case:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_1-1754042186103.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460214iAFD0D746D35114DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_1-1754042186103.png" alt="psypniew_1-1754042186103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And Activity Set Contexts:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_2-1754042471723.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460215i61ADB1A727A4547F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_2-1754042471723.png" alt="psypniew_2-1754042471723.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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 10:02:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3341243#M42634</guid>
      <dc:creator>psypniew</dc:creator>
      <dc:date>2025-08-01T10:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Lifecycle Event Case - Playbook - Activity Set launched while previous Activity Set is not Compl</title>
      <link>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3341418#M42639</link>
      <description>&lt;P&gt;Hello community&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solved the issue by adding a new activity under "Pre-Hire" activity set.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_0-1754050592647.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460251i4BC03DAC3FA1DB44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_0-1754050592647.png" alt="psypniew_0-1754050592647.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the new version of the Activity Set Context on the Lifecycle Event Case:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="psypniew_1-1754050706919.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/460252i4F872228A4B41C19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="psypniew_1-1754050706919.png" alt="psypniew_1-1754050706919.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;The existing active activity was using a custom Fulfiller activity which caused the workflow to not run correctly.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 12:20:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/lifecycle-event-case-playbook-activity-set-launched-while/m-p/3341418#M42639</guid>
      <dc:creator>psypniew</dc:creator>
      <dc:date>2025-08-01T12:20:53Z</dc:date>
    </item>
  </channel>
</rss>

