Blueprint Developer Manual / Version 2207
Table Of Contents
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 5.6.2.4.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
| |
Required | no |
Description | The name of the variable that contains all translated documents. Defaults to "derivedContents". |
masterContentObjectsVariable
| |
Required | no |
Description | The name of the variable that contains all master content objects. Defaults to "masterContentObjects". |
Table 5.38. 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 5.47. Usage of RollbackTranslationAction