JBoss Community

Re: getting the groupId from task

created by Ashok Kuppuswamy in jBPM - View the full discussion

I am able to get it

 

WorkItemManager witm = (WorkItemManager)session.getWorkItemManager();

WorkItem w = witm.getWorkItem(task.getTaskData().getWorkItemId());

String groupId = w.getParameter("GroupId").toString();

Reply to this message by going to Community

Start a new discussion in jBPM at Community