RollBack in case of error WORKS!!!

This commit is contained in:
Sandro La Bruzzo 2021-01-29 17:21:42 +01:00
parent 8ee82576c6
commit e423634cb6
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@
<property>
<name>collectionMode</name>
<description>Should be Refresh or Incremental</description>
<description>Should be REFRESH or INCREMENTAL</description>
</property>
</parameters>
@ -164,8 +164,8 @@
<action name="RollBack">
<java>
<main-class>eu.dnetlib.dhp.aggregation.mdstore.MDStoreActionNode</main-class>
<arg>--action</arg><arg>COMMIT</arg>
<arg>--mdStoreVersion</arg><arg>${wf:actionData('CollectionWorker')['mdStoreVersion']}</arg>
<arg>--action</arg><arg>ROLLBACK</arg>
<arg>--mdStoreVersion</arg><arg>${wf:actionData('StartTransaction')['mdStoreVersion']}</arg>
<arg>--mdStoreManagerURI</arg><arg>${mdStoreManagerURI}</arg>
</java>
<ok to="Kill"/>