How can I update the notification email script to take me to the "HR Agent Workspace" view?

Shy
Tera Contributor

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?

find_real_file.png

 

find_real_file.png

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

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)

Best Regards
Aman Kumar

View solution in original post

10 REPLIES 10

Aman Kumar S
Kilo Patron

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)

Best Regards
Aman Kumar