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

Avatar

Avatar
Validate 1
Level 2
mattb33671946
Level 2

Likes

15 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
mattb33671946
Level 2

Likes

15 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
mattb33671946
Level 2

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

Avatar

Avatar
Contributor
Employee
hamidk92094312
Employee

Likes

103 likes

Total Posts

240 posts

Correct reply

38 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Contributor
Employee
hamidk92094312
Employee

Likes

103 likes

Total Posts

240 posts

Correct reply

38 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Give Back 50
Give Back 5
View profile
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

Avatar

Avatar
Validate 1
Level 2
mattb33671946
Level 2

Likes

15 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
mattb33671946
Level 2

Likes

15 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
mattb33671946
Level 2

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