Generate dynamic workspace link for Activity Stream @Mention Email notification

Bhavesh Bijagar
Tera Guru

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.

 

3 REPLIES 3

SumanthDosapati
Mega Sage
Mega Sage

@Bhavesh Bijagar

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

Bhavesh Bijagar
Tera Guru

@SumanthDosapati 

Thank you!!

Unfortunately, not a scalable solution, will need to keep on updating, each time a workspace is enabled.

@Bhavesh Bijagar 

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