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 = t.properties["bpm:package"] />   
</#list>

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

Outcomes