AnsweredAssumed Answered

get tasks of the connected user

Question asked by dorra87 on Jun 13, 2012
Latest reply on Jun 21, 2012 by checco
Hi all,
I want to do a statistic of the tasks of the connected user for that,I want to get list of tasks from mytasks dashlet but I get error remote undefined.
tasks = new Array();
var result ="/slingshot/dashlets/my-tasks?filter=" + all + '"');
var data = eval('(' + result + ')');
   if (data.tasks !== null)
     for (var i=0,len = data.tasks.length;i<len;i++)
How can I fix this error?or is there Javascript service for workflow?