this.state = state;
}
public Object execute(Environment environment) throws Exception {
DbSession dbSession = Environment.getFromCurrent(DbSession.class);
ExecutionImpl processInstance = (ExecutionImpl) dbSession.findProcessInstanceById(processInstanceId);
processInstance.end(state);
return null;
}
}