private void handleAssignment(Assignment assignment) {
AssignmentAction action = (AssignmentAction) assignment.getMetaData("Action");
try {
ProcessContext context = new ProcessContext(getProcessInstance().getKnowledgeRuntime());
context.setNodeInstance(this);
action.execute(getWorkItem(), context);
} catch (Exception e) {
throw new RuntimeException("unable to execute Assignment", e);
}
}