URL in onbaording task description not working correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-21-2025 04:49 AM
Hello community in the HR Module especially on OnBoarding i have a task where in the rich description of the template i use ${parent.ref_sn_hr_core_case.subject_person_hr_profile.sys_id} to get the hr profile of the subject person in the parent case this was working fine but know i receive this in the url $%7bparent.ref_sn_hr_core_case.subject_person_hr_profile.sys_id%7d normally i should receive the sys_id anyone can help on this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-21-2025 06:30 AM
Hi @Skydev22 ,
Please try removing sysid because ${} will give display value:
${parent.ref_sn_hr_core_case.subject_person_hr_profile}
If that is not working, Use a Message Field / Template Variable
Create a Template Variable (HR Task Template ā Variables tab) and script its value using a Script Include / HR Task Context. Then reference that variable inside the description as ${my_variable}.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-21-2025 08:21 AM
Hi @pavani_paluri From where i can create this template variable please ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-21-2025 06:48 AM
Please share screenshots.
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-21-2025 08:46 AM
This is a link in a descrition of hr task template the ${parent.ref_sn_hr_core_case.subject_person_hr_profile} is not working it get convert to $%7bparent.ref_sn_hr_core_case.subject_person_hr_profile%7d when i click on the link
