AnsweredAssumed Answered

How to Display workflow comment in template mail ?

Question asked by ribz33 on Feb 13, 2008
Hi,

my workflow send a mail to reviewer (with script in my workflow task).

Im trying to display task comment (bpm:comment) in mail body

At the moment, in my template mail "document" value is bpm_package of my workflow. So i can know workflow id (bpm:workflowInstanceId) but i don't have current task id.
Only function that i have in template is "getTaskById(taskId)" so i need to know my taskId but i don't know how i can get it from my template or my package.

Is it possible to know task id from my template mail ?
Have you an idea how i can do that ?

Outcomes