Fórum

Kaleo Workflow - Single Approver

thumbnail
Tina Agrawal, modificado 8 Anos atrás.

Kaleo Workflow - Single Approver

Expert Postagens: 297 Data de Entrada: 03/01/08 Postagens Recentes
Hi All,

I am trying to include the Blog Title in Single Approver Workflow.
Steps I followed -
1) Edited the workflow definition and added -

<template> 
&lt;#assign context = serviceContext.getAttribute("context")&gt;
 ${userName} sent you a ${entryType} for review in the workflow - ${context.title}
</template>


But this doesnt seem to be working.
Any idea.

Tina
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: Kaleo Workflow - Single Approver

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Why would you think the title is part of the context object?
thumbnail
Tina Agrawal, modificado 8 Anos atrás.

RE: Kaleo Workflow - Single Approver

Expert Postagens: 297 Data de Entrada: 03/01/08 Postagens Recentes
David,

I tried with ServiceContext too as per this link - https://www.liferay.com/web/igor.beslic/blog/-/blogs/workflow-in-action-kaleo-workflow-context-variables
But that too didnt help.

Tina