AnsweredAssumed Answered

Why the workflow.assignedTasks can not be used in ftl ?

Question asked by zengqingyi12 on Jan 30, 2011
Latest reply on Jun 21, 2011 by clementus
I wrote a web script, in javascript I wrote the following code:
model.tasks = workflow.assignedTasks  
and in the ftl:
<#list  tasks as t>
<assign packageNode =["bpm:package"] />   

and I got an exception: not defined.
If I use the api in ftl:
<#list  workflow.assignedTasks as t>
<assign packageNode =["bpm:package"] />   
this works well, so I want to know if there any differences between javascript and ftl api ?