I want to retrieve all task data like name, number, role, assignee, activity name, vote
I have a custom utility on Promotion Notice and I want to retrieve all task data like name, number, role, assignee, activity name, vote, and comments as well. So, I retrieved below data but i am I am STRUGGLING to get user comments and assignee name while performing the "approve" task. of Poomotion Notice
I need a java API so that I can use it in my utility where I am getting other details .
I know that i ill get required info from this class WfVotingEventAudit but How can i get this from Promotion Notice
I used below code in wf but getting class cast exception :
wt.fc.collections.WTArrayList auditCol = (wt.fc.collections.WTArrayList) wt.workflow.engine.WfEngineHelper.service.getVotingEvents((wt.workflow.engine.WfProcess) ((wt.workflow.work.WfAssignedActivity) self.getObject()).getParentProcess(), null, null, null); System.out.println("***Transition Expression: Audit = " + auditCol.toString());

