Blueprint Developer Manual / Version 2304
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 content items
and folders that were created by the Section, “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 content items 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 content items. 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