Message Boards

Workflow Task URL in email notification

thumbnail
Irina Russkaya, modified 6 Years ago.

Workflow Task URL in email notification

Junior Member Posts: 44 Join Date: 12/2/16 Recent Posts
Hi,

how can I send a workflow task URL in an email notification? I have a workflow definition with freemarker template for email, but I want also to send a link to workflow task in this email. Is it possible?

I've tried
<#assign wTasksURL = portalURL+"/group/control_panel/manage?p_p_id=153&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId="+groupId+"&refererPlid=">


from Liferay 6.2 Tutorial

but without success.

Liferay 7.0 CE GA3
thumbnail
Shivam Aggarwal, modified 6 Years ago.

RE: Workflow Task URL in email notification

Regular Member Posts: 122 Join Date: 1/18/12 Recent Posts
Are you facing issues with appropriate URL or embedding it correctly in the mail template?
thumbnail
Amos Fong, modified 6 Years ago.

RE: Workflow Task URL in email notification

Liferay Legend Posts: 2047 Join Date: 10/7/08 Recent Posts
This is what I've used:
						<#assign workflowTaskURL = portaURL + "/group/control_panel/manage?p_p_id=153&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_153_struts_action=%2Fmy_workflow_tasks%2Fedit_workflow_task&_153_workflowTaskId=" + kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()?c />
thumbnail
Andre Kreienbring, modified 3 Years ago.

RE: Workflow Task URL in email notification

Regular Member Posts: 152 Join Date: 12/18/06 Recent Posts
Does anybody know how I can link to a specific workflow task in 7.3.2?  The above is not working anymore.