/**
* Populates the 'participant' property for each assignment in the Collection based on the XPDL definition.
* @param assignmentList
*/
protected void participantsForAssignment(Collection<WorkflowAssignment> assignmentList) {
SharkConnection sc = null;
try {
sc = connect();
Shark shark = Shark.getInstance();
AdminMisc admin = shark.getAdminMisc();
XPDLBrowser xpdlBrowser = shark.getXPDLBrowser();
for (Iterator<WorkflowAssignment> i = assignmentList.iterator(); i.hasNext();) {
WorkflowAssignment assignment = (WorkflowAssignment) i.next();
// get activity and process
WMSessionHandle sessionHandle = sc.getSessionHandle();
WMEntity activityEntity = admin.getActivityDefinitionInfo(sessionHandle, assignment.getProcessId(), assignment.getActivityId());
// get performer
WMFilter filter = new WMFilter("Name", WMFilter.EQ, "Performer");
filter.setFilterType(XPDLBrowser.SIMPLE_TYPE_XPDL);