OOTB New Hire Onboarding (demo) issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
The following issue is really troubling me, and I hope to get help.
It's still about the HRSD OOTB New Hire Onboarding (demo) issue.
submitting a record from the Employee Center should automatically create entries in the user table and HR profile table due to the script under the item.
However, I found that if I delete the
Account Notification activity from the lifecycle, although it can create an entry in the user table, the user ID remains empty.
If I keep the Account Notification activity , the user ID is created normally. I don't understand what relationship exists between user generation and the Account Notification activity. I request your assistance. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @ChunjiJ ,
The reason the User ID / HR profile remains empty if you delete the Account Notification activity is that the account/user creation logic in the OOTB Lifecycle Event depends on that activity, and specifically on the HR Service being included in the hr_CaseUtils._requiresUserOrProfileCreation mapping, so when the Account Notification activity is removed the workflow that generates the login / subject_person (HR profile) doesn’t get triggered; re adding the Account Notification activity under the Lifecycle first Activity Set with the proper HR Service name ensures the user record is fully created with the subject_person / user_id populated.....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/