[HR Lifecycle Events Cases] How user is created when submitting Onboarding Request

solonxu
Kilo Expert

When user submit a Onboarding Request from HR portal, a new user record and HR profile is generated by the system. Can anyone explain how this process work because we want to customize the generation process (have some custom fields to map to user fields).

Thank you.

16 REPLIES 16

This is happening in the hr_login_generator script include, which is called from the "Generate User Login for Subject Person" activity in the workflow.

find_real_file.png

These are the conditions on the workflow causing it to trigger when a case on the sn_hr_le_case table is triggered with the Account Notification HR Service.

find_real_file.png

@Kiel Sanders  Hi , Could you please let me know how to add parameters for User creation . 

Please find below details .

1) We are triggering Onboarding record producer using ServiceCatalog API and submitting the record producer .

2) Below are the attributes we receive from 3 rd party tool .

         Candidate number , Frist name , last name , Manager user ID , email , location .

3) We want the user to be created in Servicenow with userID as Candidate number . 

Where can I change the logic .I looked at hr_SysUser script include but unable to find .