- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2019 10:47 AM
If a manager is completing a Lifecycle Events task (Child HRT for Parent LE Case) for their new hire, is there a way to get the New Hire (Subject Person) of the Parent LE Case populated in a sys_user reference variable on the record producer that triggers as part of their task? I can't use javascript:gs.getUserID() like I can for the New Hire's Record Producers because the current user is the manager.
Solved! Go to Solution.
- Labels:
-
HR Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2019 11:59 AM
Hi asuthe,
This can be done using the field mapping on the Activity Field Mapping for the activity that is calling to the Catalog Item (Record Producer). Here is a print screen on how I have done this:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2019 11:21 AM
you can configure custom script include and refer in your reference qualifier.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2019 11:38 AM
But how do i reference the HR Task that called the HR Service's record producer? The only values I'm able to pull are the current user's (manager's) sys_id. I can query for any HR Tasks they have open and assigned to them, but that won't work in the case they have multiple tasks assigned.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2019 11:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2025 09:02 AM
This was very helpful!! Even if old, it still helped. Now the field in the HR Task table is called Questions if anyone ever bounces into this article!