Generate dynamic workspace link for Activity Stream @Mention Email notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 09:01 AM
Hi,
OOTB notification "Activity Stream @Mention Email notification", has a link which takes agent to backend (Native UI) of the incident. However requirement is to take agent to workspace.
Since the notification is global, it should work for all the workspaces.
Challenge is how to generate workspace URL dynamically depending on type of task (i.e. Incident, CSM Case, HR Case, S2P case, etc.)
Looking forward for any solutions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 09:42 AM
If your are using OOB, update the email script named 'ng_activity_mention_body'.
You can add your conditions there and set the URL dynamically.
Let me know if you need further help.
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 09:58 AM
Thank you!!
Unfortunately, not a scalable solution, will need to keep on updating, each time a workspace is enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 03:50 AM
It is scalable. It depends on how you implement it.
You can use Decision table for that. This way each time a workspace is enabled, you can just add that workspace in decision table (you can even pre add) and this way it is not required to touch the email script again.
You can even use a system property to store mapping in JSON format but still decision table would be better choice.
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth