- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 07:56 AM
Hello community,
I need to understand why an Activity Set (Pre-Boarding) is launched while previous Activity Set (Pre-hire) is not Complete in a Lifecycle Event Case.
Here is the Activity Set configuration:
Here is the Lifecycle Event:
Here is the Playbook:
The Lifecycle Event Case is created from a UI Action with a Script. Here is the Script:
// Change the state to Closed Complete (105)
current.state = 105;
// Create a new sn_hr_le_case record
var leCaseGR = new GlideRecord('sn_hr_le_case');
leCaseGR.initialize();
leCaseGR.state = 10;
leCaseGR.subject_person = current.subject_person;
leCaseGR.opened_for = current.subject_person;
// Assign the specific HR Service
leCaseGR.hr_service = '2b72fe801b4c6e5063b2a8e8b04bcb8b';
leCaseGR.insert();
// Update the current case
current.update();
// Notify the user
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');
// Redirect to the current record
action.setRedirectURL(current);
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 05:20 AM
Hello community ,
I solved the issue by adding a new activity under "Pre-Hire" activity set.
Here is the new version of the Activity Set Context on the Lifecycle Event Case:
The existing active activity was using a custom Fulfiller activity which caused the workflow to not run correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 02:02 AM
Hi @psypniew ,
Is there any active activity under "Pre-Hire" activity set ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 03:02 AM
Hi @abirakundu23,
Yes, I have an active Activity under Pre-Hire Activity Set, of type HR Case.
Here is the Activity:
And here are the Lifecycle Event Tasks on the Lifecycle Event Case:
And Activity Set Contexts:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 05:20 AM
Hello community ,
I solved the issue by adding a new activity under "Pre-Hire" activity set.
Here is the new version of the Activity Set Context on the Lifecycle Event Case:
The existing active activity was using a custom Fulfiller activity which caused the workflow to not run correctly.