diff --git a/dhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/opencitations/oozie_app/workflow.xml b/dhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/opencitations/oozie_app/workflow.xml
index bd1932dd5..d87dfa2ba 100644
--- a/dhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/opencitations/oozie_app/workflow.xml
+++ b/dhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/opencitations/oozie_app/workflow.xml
@@ -46,7 +46,7 @@
download.sh
${filelist}
- ${workingPath}/Original
+ ${workingPath}/${prefix}/Original
HADOOP_USER_NAME=${wf:user()}
download.sh
@@ -59,7 +59,7 @@
eu.dnetlib.dhp.actionmanager.opencitations.GetOpenCitationsRefs
--hdfsNameNode${nameNode}
--inputFile${inputFile}
- --workingPath${workingPath}
+ --workingPath${workingPath}/${prefix}
--prefix${prefix}
@@ -83,8 +83,8 @@
--conf spark.eventLog.dir=${nameNode}${spark2EventLogDir}
--conf spark.sql.warehouse.dir=${sparkSqlWarehouseDir}
- --workingPath${workingPath}/${prefix}
- --outputPath${workingPath}/${prefix}_JSON/
+ --workingPath${workingPath}/${prefix}/${prefix}
+ --outputPath${workingPath}/${prefix}/${prefix}_JSON/
--delimiter${delimiter}
--inputFile${inputFileCoci}
--format${prefix}