The Zurich release has arrived! Interested in new features and functionalities? Click here for more

OOTB New Hire Onboarding (demo) issue

ChunjiJ
Tera Contributor

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.

ChunjiJ_0-1758258921904.png

 

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.

ChunjiJ_1-1758259165288.png

ChunjiJ_2-1758259277708.png

 

 

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!

5 REPLIES 5

kaushal_snow
Mega Sage

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.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/