Employment Start Date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2018 12:31 PM
Can someone point me in the direction on what client script, script include or business rule is auto populating the employment start date on the HR profile for the out of the box onboarding form.
I want to duplicate it for the employment end date in the offboarding process but can't find it anywhere.
Thank you in advance.
Jen
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2018 10:37 PM
Hi right click on Start date and click on Configure Dictionary
there under default value you might see a script like
gs.now() or something related to gs that is populating it
And if nothing is there then in global search just enter your field name (i.e start date) you will find business rules or client scripts
related to that field that would be setting it.
Mark my ANSWER as CORRECT and HELPFUL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2018 10:42 PM
Employment Start Date is updating from the Script Include called hr_Profile and the method name is updateProfile.
Whenever "Request OnBoarding" record producer is submitted it calls new hr_ActivityUtils().createCaseFromProducer(current, producer, cat_item.sys_id) and internally it calls hr_CaseUtils script include which again calls hr_Profile script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2018 05:55 AM
Thank you.
I found the script include but I a just not sure how to use that to update the employee end date on the hr profile from the off boarding lifecycle event case I created?
Any ideas?
Jen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2018 10:02 AM
It should automatically get mapped to the user profile under the script include section that Raju mentioned if the variable name matches the field name (employment_end_date) on the HR Profile table. If the variable name does not match, you can add the mapping to the hr_Profile.rpToProfileMap mapping on the hr_Profile script include. Modifying the delivered script include is not recommended so updating the variable name would be preferred.