Avatar

Level 3

Hi, I am creating a custom component that can retrieve form data for a task, when I run the component in workflow, it throws an exception:

"com.adobe.idp.taskmanager.dsc.client.task.TaskImpl cannot be cast to com.adobe.idp.taskmanager.dsc.client.task.TaskInfo"

at the line:

"TaskInfo tinfo = taskManager.getTaskInfo(taskId);"

If i put the same code on a java console app to test it, it works fine.

I've tried to googled it but nothing come up for TaskImpl.

Thanks,

hkho