loading table of contents...
6.6.2.1.5. RollbackTranslationAction

If the master content is not needed in the target site, the translation workflow can be aborted with the RollbackTranslationAction. In this case all documents and folders that were created by the Section 6.6.2.1.1, “GetDerivedContentsAction will be deleted. In addition, all target contents will be marked as no longer being in translation.

contentsVariable
Required yes
Description The name of the variable that contains all documents and folders that have to be deleted during while rolling back the translation
derivedContentsVariable no The name of the variable that contains all translated documents. Defaults to "derivedContents".
masterContentObjectsVariable no The name of the variable that contains all master content objects. Defaults to "masterContentObjects".

Table 6.32.  Attributes of RollbackTranslationAction


<AggregationVariable name="createdContents" type="Resource"/>
...

<AutomatedTask name="Rollback" successor="Finish">
  <Action class="com.coremedia.translate.workflow.RollbackTranslationAction"
          derivedContentsVariable="derivedContents"
          masterContentObjectsVariable="masterContentObjects"
          contentsVariable="createdContents"/>
</AutomatedTask>

Example 6.31. Usage of RollbackTranslationAction