} else {
logger.trace("Importing " + baseWorkflow + " exported by " + owner);
String workflowId = importWorkflow(userId, appFile.getName(), baseWorkflow, owner);
// setting input.tar as input file
CompressUtil cu = new CompressUtil();
File inputTgz = cu.doCompression(FolderProperties.getTmpInputFolder(userId));
logger.debug("Input tar has been created here: " + inputTgz.getAbsoluteFile());
asmService.setCommandLineArg(userId, workflowId, "application", appFile.getName());
asmService.placeUploadedFile(userId, inputTgz, workflowId, "application", "0");