*/
protected List<Participant> getWIParticipantsExt(AbstractFlowEvent event, ActivityElement activityXml) {
List<Participant> _particis = null;
List<Participant> participants = new LinkedList<Participant>();
IWFOMService service = (IWFOMService)event.getApplicationContext().getBean("WFOMService");
String mode = activityXml.getParticipantType();
ParticipantMode particiMode = ParticipantModeFactory.buildParticipantMode(mode);
_particis = particiMode.creatParticipants(event, activityXml);
for(Participant p : _particis) {
participants.addAll(service.getParticipants(p.getParticType(), p.getParticipant()));
}
if(participants ==null || participants.size() == 0) {
String actName = activityXml.getName();
throw new ProcessEngineException("【" + actName + "】环节指定的参与为空,不能启动流程");