public List<Task> createFreeTask(String orderId, String operator, Map<String, Object> args, TaskModel model) {
		Order order = query().getOrder(orderId);
		AssertHelper.notNull(order, "指定的流程实例[id=" + orderId + "]已完成或不存在");
		order.setLastUpdator(operator);
		order.setLastUpdateTime(DateHelper.getTime());
		Process process = process().getProcessById(order.getProcessId());
		Execution execution = new Execution(this, process, order, args);
		execution.setOperator(operator);
		return task().createTask(model, execution);
	}
public List < Task > createFreeTask ( String orderId , String operator , Map < String , Object > args , TaskModel model ) { Order order = query ( ) . getOrder ( orderId ) ; AssertHelper . notNull ( order , "指定的流程实例[id=" + orderId + "]已完成或不存在" ) ; order . setLastUpdator ( operator ) ; order . setLastUpdateTime ( DateHelper . getTime ( ) ) ; Process process = process ( ) . getProcessById ( order . getProcessId ( ) ) ; Execution execution = new Execution ( this , process , order , args ) ; execution . setOperator ( operator ) ; return task ( ) . createTask ( model , execution ) ; }
根据流程实例ID，操作人ID，参数列表按照节点模型model创建新的自由任务