diff --git a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml
index dc0529012..58ad6f1f5 100644
--- a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml
+++ b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml
@@ -13,6 +13,10 @@
isLookupUrl
the address of the lookUp service
+
+ shouldCleanContext
+ false
+
sparkDriverMemory
@@ -275,7 +279,23 @@
-
+
+
+
+
+ ${wf:conf('shouldCleanContext') eq true}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file