Update of Manager during Lifecycle event

Casey4
Tera Contributor
Onboarding LCE triggered to manager and new hire.
Now. Manager changed during LCE in HR system.
Update on New hire’s manager or due date on LCE activity is handled by business rules on user[sys_user] and HR profile[sn_hr_core_profile] table respectively.
What can be done to automate the hiring manager update for the lifecycle event?
1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

Create a business rule on sys_user table and apply a condition manager changes. In this business rule check if the user has role sn_hr_core.hrsm_new sn_hr_sp.hrsp_new_hire. if condition equates to true then GlideRecord ('sn_hr_le_case') and addQuery('subject_person', current.sys_id); This will return the HR LE case where you need to update the opned_for/manager on the HR LE case. Hope this helps.

View solution in original post

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

Create a business rule on sys_user table and apply a condition manager changes. In this business rule check if the user has role sn_hr_core.hrsm_new sn_hr_sp.hrsp_new_hire. if condition equates to true then GlideRecord ('sn_hr_le_case') and addQuery('subject_person', current.sys_id); This will return the HR LE case where you need to update the opned_for/manager on the HR LE case. Hope this helps.