}
DynamicAssignmentHandler dynamicAssignmentHandler = ((WorkflowSession)currentSession).consumeCurrentDynamicAssignmentHandler();
FormTask task = (FormTask)taskInstance.getTask();
Participant performer = task.getPerformer();//获取到form的执行者
if (performer == null || performer.getAssignmentHandler().trim().equals("")) {
throw new EngineException(processInstance,
taskInstance.getActivity(),
"流程定义错误,Form类型的 task必须指定performer及其AssignmentHandler");
}
assign(currentSession,processInstance,runtimeContext,taskInstance, task, performer, dynamicAssignmentHandler);