Highlighted

Workflow Notification Email: Possible to Link to Project instead of Payload

Avatar

Avatar

mattb33671946

Avatar

mattb33671946

mattb33671946

24-06-2019

We have email notifications set up to be sent out on a variety of Workflow steps that are initiated as part of an AEM Project. 

The "Content:" link in the email is linking to the Assets > Projects > [Project Name] folder using the syntax listed below. 

https://author-prod.[domain].com${payload.path.open}\n/

However, we would like to change this link to instead resolve to the Projects > [Project Name] folder. 

I've reviewed the following link but I'm not seeing a variable listed that will populate the path to the Project rather than the Project's Asset Folder. 

Configuring Email Notification

Please let me know if this is possible and if so, the appropriate syntax to use. 

Thank you!

Replies

Highlighted

Avatar

Avatar

hamidk92094312

Employee

Avatar

hamidk92094312

Employee

hamidk92094312
Employee

24-06-2019

Have you tried customizing Email Templates for Workflow Notification ? There is a ${payload.path} variable that you can set and I think that's what you are looking for.

Configuring Email Notification

Highlighted

Avatar

Avatar

mattb33671946

Avatar

mattb33671946

mattb33671946

24-06-2019

We have tried changing https://author-prod.[domain].com${payload.path.open} to https://author-prod.[domain].com${payload.path} and the resulting link in the emails goes to a 403 page:

https://author-prod.[domain].com/content/dam/projects/[project_and_folder_path]/[project_name]/

Please see attached screenshot of the error that I'm getting

What I'm trying to link to is the following:

https://author-prod.[domain].com/projects/details.html/content/projects/[project_and_folder_path]/[p...

Screen Shot 2019-06-24 at 7.51.28 PM.png