@SuppressWarnings("unchecked")
	public void enter(ProcessContext context) {
		if (logger.isDebugEnabled()) {
			logger.debug(" enter processNode:" + this + " with context:"
					+ context);
		}
		if (context.getForkId() == null)
			throw new RuntimeException(
					"forkId should not be null! be sure this node is after a forkNode!");
		super.callEnterInvokerIfNcessary(context);
		if (task != null) {

			if (task.getGeneratorInvoker() == null) {
				createTasksByVars(context);
			} else {
				createTasksByInvoker(context);
			}

		}
		else
			this.leave(context);

	}