How to add automated HR Case under Lifecycle event
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 12:25 AM
1.ADP sends new Employee data to NOW that will create an HR Case [ This is automated, using transform script].
2.Once the HR Case is generated, HR Task for the Hiring Manager will be generated. [Using lifecycle event workflow]
Can someone explain how can we add 1st point lifecycle event, (as it is automated.) , so that I can add rest of the hr tasks as an activities to that LE.
@Ankur Bawiskar @Susan Britt @Community Alums @Allen Andreas
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 04:45 AM
Hi @Ram33843094 ,
To meet your requirement, you can go ahead and check how the activity " Account Notification" has been configured.
All the defined activities (activity sets) are calling from set of script includes (ex: "hr_ActivitySet") and these script includes are called from workflow which is triggering when we request a HR Service.
Script Includes:
Workflows: HR Activity Launcher and HR Activity Set Launcher

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 09:42 AM
I am assuming ADP is sending the new hire information to ServiceNow to create the User and HR Profile records. Is that correct? If so, you can create a business rule that once the new HR Profile has been created (add any other conditions that may be needed, like employee start date validation), create the new LE case for the onboarding service. If the case is created in the Draft state, it will not kick-off the LE yet. To have it automatically begin the LE process, create the case in "Ready" or "Work In Progress".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 12:02 PM
Hi @Susan Britt
Yes you are right. ADP is sending the new hire information to ServiceNow to create the User and HR Profile records.
Can you please share if you have any OOTB /sample script to achieve this as I'm quite new to this.
Also how do we add activities/activities sets to this Lifecycle Event., if we create HR LE Case via script.
Usually we can add record producer and L.E in hr service to trigger activities right.
Thank you!!