AnsweredAssumed Answered

dashlets and workflow

Question asked by molti on Jun 6, 2011
Latest reply on Jun 7, 2011 by mikeh
Hi. May be someone know, why this code does not work????

My dashlet
ourTasks.get.js

var works = workflow.getCompletedTasks();  

and the error
Failed to execute script 'classpath*:alfresco/site-webscripts/ourTasksDashlet/ourTasks.get.js': 05060005 ReferenceError: "workflow" is not defined.
Why?????

Outcomes