code: public Long createBatch(String batchTaskName, String data, String key1, String key2, List<TedTask> tedTasks) {
  		if (tedTasks == null || tedTasks.isEmpty())
  			return null;
  		if (batchTaskName == null) {
  			throw new IllegalStateException("batchTaskName is required!");
  		}
  		TaskConfig batchTC = context.registry.getTaskConfig(batchTaskName);
  		if (batchTC == null)
  			throw new IllegalArgumentException("Batch task '" + batchTaskName + "' is not known for TED");
  
  		Long batchId = context.tedDao.createTaskPostponed(batchTC.taskName, Model.CHANNEL_BATCH, data, key1, key2, 30 * 60);
  		createTasksBulk(tedTasks, batchId);
  		context.tedDao.setStatusPostponed(batchId, TedStatus.NEW, Model.BATCH_MSG, new Date());
  
  		return batchId;
  	}
docs: if batchTaskName is null - will take from taskConfiguration