How to copy the hr profile data on to user table both are in different application scopes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2021 05:52 AM
Hi,
Is there anyway we can copy the "employee end date" field value from HR profile table on to custom field on User[sys_user] table.
Business rules written in one application scope will work in another application scope, if i want to query the HR profile table?
Any help much appreciated.
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2021 05:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2021 06:17 AM
Hi,
There is OOB business rule which calls script include to sync User and HR Profile fields
You can refer that and enhance the Script Include to sync Employee End Date with Custom Field on User
BR On HR Profile Table
Name: Synchronize fields to sys_user
It calls script include "hr_Utils" and function "syncProfileFields"
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2021 08:29 AM
is this the place i should modify the script in the script include? and FYI.. we have an integration with Workday to bring all the employee information and feed to both HR profile and User table. So, are there any other places i should make the changes other than this script include?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2021 06:39 AM
Once you upgrade to Paris, there is a new plugin "Employee Profile" that will make the employment start and end dates available.