Best way to create HR Profiles of newly added users

Sanket Shinde2
Mega Expert

Hello,

We are creating user records in ServiceNow via LDAP integration.

Is there a way to automatically create HR Profiles of newly created user records without manual intervention?

Regards,

Sanket

1 ACCEPTED SOLUTION

Susan Britt
Mega Sage
Mega Sage

You can create a Business Rule on your sys_user table to create an HR Profile when the user is inserted.  Add any needed conditions (e.g., employee number populated), if you potentially add users that are not actually employees.

View solution in original post

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

nothing for HR Profile is available OOB for LDAP.

You will have to add your custom solution

Create onAfter transform script and insert data into HR Profile for each user record

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Sanket Shinde 

I would suggest to use your existing transform map onAfter script.

No need of extra technical component i.e. Business rule.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hello Ankur,

Yes, I totally agree with your point, but in some cases, like in mine, there are discussions of populating the user records from some other tool in the future, so a business rule makes it more flexible as it saves some re-configuration.

Regards,

Sanket

Hi,

Yes but do you require that to happen even when user creates new record from native view?

then accordingly modify the BR condition

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader