- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2022 06:43 AM
When I click on "Take me to the Case" it takes me to the ITIL view of the case and not the "HR Agent Workspace" view.
How can I update the notification email script to take me to the "HR Agent Workspace" view?
Solved! Go to Solution.
- Labels:
-
HR Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2022 06:52 AM
Hi,
If you look closely, you are getting the link from a script include, which is line 2.
I would suggest look into it to better understand how these works OOB
Script include: sn_hr_sp.emailUtil and getLink() and _shouldGoToServicePortal() functions.
Right now, there are certain conditions that it is checking to open the record.
I think it will be better to stick to OOB, else you can by default create a link of yourself and add using a new email template.(refer to _getPortalLink() within the same script include)
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2022 06:52 AM
Hi,
If you look closely, you are getting the link from a script include, which is line 2.
I would suggest look into it to better understand how these works OOB
Script include: sn_hr_sp.emailUtil and getLink() and _shouldGoToServicePortal() functions.
Right now, there are certain conditions that it is checking to open the record.
I think it will be better to stick to OOB, else you can by default create a link of yourself and add using a new email template.(refer to _getPortalLink() within the same script include)
Aman Kumar